Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unreviewed, rolling out r161939.
http://trac.webkit.org/changeset/161939
https://bugs.webkit.org/show_bug.cgi?id=126956

didn't work with mac, of course (Requested by thorton on
#webkit).

Source/WebCore:

* WebCore.xcodeproj/project.pbxproj:

Source/WebKit2:

* NetworkProcess/NetworkResourceLoader.cpp:
* NetworkProcess/NetworkResourceLoader.h:
* NetworkProcess/RemoteNetworkingContext.h:
* Shared/WebEventConversion.h:
* UIProcess/API/ios/WKGeolocationProviderIOS.mm:
* UIProcess/API/ios/WKInteractionView.mm:
(-[WKTextPosition isEqual:]):
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:

Canonical link: https://commits.webkit.org/144932@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
webkit-commit-queue committed Jan 14, 2014
1 parent 27cb80d commit 3afc382
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 115 deletions.
11 changes: 11 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,14 @@
2014-01-13 Commit Queue <commit-queue@webkit.org>

Unreviewed, rolling out r161939.
http://trac.webkit.org/changeset/161939
https://bugs.webkit.org/show_bug.cgi?id=126956

didn't work with mac, of course (Requested by thorton on
#webkit).

* WebCore.xcodeproj/project.pbxproj:

2014-01-13 Tim Horton <timothy_horton@apple.com>

iOS WebKit2 build fixes
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/WebCore.xcodeproj/project.pbxproj
Expand Up @@ -518,7 +518,7 @@
0FC4E40E187F82E10045882C /* ScrollingCoordinatorIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0FC4E408187F82E10045882C /* ScrollingCoordinatorIOS.mm */; };
0FC4E40F187F82E10045882C /* ScrollingTreeIOS.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0FC4E409187F82E10045882C /* ScrollingTreeIOS.cpp */; };
0FC4E410187F82E10045882C /* ScrollingTreeIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FC4E40A187F82E10045882C /* ScrollingTreeIOS.h */; };
0FC4E411187F82E10045882C /* ScrollingTreeScrollingNodeIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FC4E40B187F82E10045882C /* ScrollingTreeScrollingNodeIOS.h */; settings = {ATTRIBUTES = (Private, ); }; };
0FC4E411187F82E10045882C /* ScrollingTreeScrollingNodeIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FC4E40B187F82E10045882C /* ScrollingTreeScrollingNodeIOS.h */; };
0FC4E412187F82E10045882C /* ScrollingTreeScrollingNodeIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0FC4E40C187F82E10045882C /* ScrollingTreeScrollingNodeIOS.mm */; };
0FCF33240F2B9715004B6795 /* ColorCG.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0FCF33230F2B9715004B6795 /* ColorCG.cpp */; };
0FCF332E0F2B9A25004B6795 /* WebLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0FCF332A0F2B9A25004B6795 /* WebLayer.mm */; };
Expand Down
21 changes: 21 additions & 0 deletions Source/WebKit2/ChangeLog
@@ -1,3 +1,24 @@
2014-01-13 Commit Queue <commit-queue@webkit.org>

Unreviewed, rolling out r161939.
http://trac.webkit.org/changeset/161939
https://bugs.webkit.org/show_bug.cgi?id=126956

didn't work with mac, of course (Requested by thorton on
#webkit).

* NetworkProcess/NetworkResourceLoader.cpp:
* NetworkProcess/NetworkResourceLoader.h:
* NetworkProcess/RemoteNetworkingContext.h:
* Shared/WebEventConversion.h:
* UIProcess/API/ios/WKGeolocationProviderIOS.mm:
* UIProcess/API/ios/WKInteractionView.mm:
(-[WKTextPosition isEqual:]):
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:

2014-01-13 Benjamin Poulain <bpoulain@apple.com>

Update WebPageProxyIOS's user agent string
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit2/NetworkProcess/NetworkResourceLoader.cpp
Expand Up @@ -405,7 +405,7 @@ void NetworkResourceLoader::didReceiveDataArray(ResourceHandle*, CFArrayRef)
}
#endif

#if PLATFORM(MAC) && !PLATFORM(IOS)
#if PLATFORM(MAC)
void NetworkResourceLoader::willStopBufferingData(ResourceHandle*, const char*, unsigned)
{
notImplemented();
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit2/NetworkProcess/NetworkResourceLoader.h
Expand Up @@ -108,8 +108,8 @@ class NetworkResourceLoader : public RefCounted<NetworkResourceLoader>, public W
static size_t fileBackedResourceMinimumSize();
#if !PLATFORM(IOS)
virtual void willCacheResponseAsync(WebCore::ResourceHandle*, NSCachedURLResponse *) OVERRIDE;
virtual void willStopBufferingData(WebCore::ResourceHandle*, const char*, unsigned) OVERRIDE;
#endif
virtual void willStopBufferingData(WebCore::ResourceHandle*, const char*, unsigned) OVERRIDE;
#endif // PLATFORM(MAC)

// Message handlers.
Expand Down
3 changes: 3 additions & 0 deletions Source/WebKit2/NetworkProcess/RemoteNetworkingContext.h
Expand Up @@ -67,6 +67,9 @@ class RemoteNetworkingContext FINAL : public WebCore::NetworkingContext {
virtual bool localFileContentSniffingEnabled() const OVERRIDE;
virtual RetainPtr<CFDataRef> sourceApplicationAuditData() const OVERRIDE;
virtual WebCore::ResourceError blockedError(const WebCore::ResourceRequest&) const OVERRIDE;
#if PLATFORM(IOS)
virtual void reportNetworkDataUsage(uint64_t rawBytesSent, uint64_t rawBytesReceived, uint64_t cellularBytesSent, uint64_t cellularBytesReceived) OVERRIDE { }
#endif // PLATFORM(IOS)
#endif

#if USE(SOUP)
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit2/Shared/WebEventConversion.h
Expand Up @@ -32,7 +32,7 @@

#if ENABLE(TOUCH_EVENTS)
#if PLATFORM(IOS)
#include <WebKitAdditions/PlatformTouchEventIOS.h>
#include <WebCore/PlatformTouchEventIOS.h>
#else
#include <WebCore/PlatformTouchEvent.h>
#include <WebCore/PlatformTouchPoint.h>
Expand Down
5 changes: 0 additions & 5 deletions Source/WebKit2/UIProcess/API/ios/WKGeolocationProviderIOS.mm
Expand Up @@ -45,9 +45,6 @@

using namespace WebKit;

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

@interface WKGeolocationProviderIOS ()
-(void)_startUpdating;
-(void)_stopUpdating;
Expand Down Expand Up @@ -278,5 +275,3 @@ - (BOOL)shouldClearCache
return NO;
}
@end

#pragma clang diagnostic pop
2 changes: 1 addition & 1 deletion Source/WebKit2/UIProcess/API/ios/WKInteractionView.mm
Expand Up @@ -1559,7 +1559,7 @@ + (WKTextPosition *)textPositionWithRect:(CGRect)positionRect
// since two equal items could have different hashes.
- (BOOL)isEqual:(id)other
{
if (![other isKindOfClass:[WKTextPosition class]])
if (![object isKindOfClass:[WKTextPosition class]])
return NO;

return CGRectEqualToRect(self.positionRect, ((WKTextPosition *)other).positionRect);
Expand Down

0 comments on commit 3afc382

Please sign in to comment.