diff options
author | Andrei Popescu <andreip@google.com> | 2009-08-18 15:37:54 +0100 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2009-08-18 15:37:54 +0100 |
commit | d5e1fd5fdf2c3c2bb987470577a7914e016b5f79 (patch) | |
tree | a642cf890ac21845e615446519c9a6315b010ff8 /WebCore | |
parent | b65272ed3bde39fa32c70814ae8dd556b0bc2d7c (diff) | |
download | external_webkit-d5e1fd5fdf2c3c2bb987470577a7914e016b5f79.zip external_webkit-d5e1fd5fdf2c3c2bb987470577a7914e016b5f79.tar.gz external_webkit-d5e1fd5fdf2c3c2bb987470577a7914e016b5f79.tar.bz2 |
Fixes for the OSX build
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/WebCore.base.exp | 6 | ||||
-rw-r--r-- | WebCore/WebCore.xcodeproj/project.pbxproj | 8 | ||||
-rw-r--r-- | WebCore/page/PositionOptions.h | 2 | ||||
-rwxr-xr-x | WebCore/platform/MockGeolocationService.cpp | 4 |
4 files changed, 17 insertions, 3 deletions
diff --git a/WebCore/WebCore.base.exp b/WebCore/WebCore.base.exp index aac7c80..cdf3716 100644 --- a/WebCore/WebCore.base.exp +++ b/WebCore/WebCore.base.exp @@ -182,6 +182,12 @@ __ZN7WebCore11FrameLoader6reloadEb __ZN7WebCore11FrameLoader7addDataEPKci __ZN7WebCore11FrameLoader7canLoadERKNS_4KURLERKNS_6StringEPKNS_8DocumentE __ZN7WebCore11Geolocation12setIsAllowedEb +__ZN7WebCore22MockGeolocationService11setPositionEN3WTF10PassRefPtrINS_11GeopositionEEE +__ZN7WebCore18GeolocationService15setMockPositionEN3WTF10PassRefPtrINS_11GeopositionEEE +__ZN7WebCore22MockGeolocationService6createEPNS_24GeolocationServiceClientE +__ZN7WebCore22MockGeolocationService6createEPNS_24GeolocationServiceClientE$non_lazy_ptr +__ZN7WebCore22MockGeolocationService8setErrorEN3WTF10PassRefPtrINS_13PositionErrorEEE +__ZN7WebCore18GeolocationService12setMockErrorEN3WTF10PassRefPtrINS_13PositionErrorEEE __ZN7WebCore11HistoryItem10targetItemEv __ZN7WebCore11HistoryItem11setReferrerERKNS_6StringE __ZN7WebCore11HistoryItem12addChildItemEN3WTF10PassRefPtrIS0_EE diff --git a/WebCore/WebCore.xcodeproj/project.pbxproj b/WebCore/WebCore.xcodeproj/project.pbxproj index 0753dc7..96c4fc7 100644 --- a/WebCore/WebCore.xcodeproj/project.pbxproj +++ b/WebCore/WebCore.xcodeproj/project.pbxproj @@ -3849,6 +3849,8 @@ B50F5B810E96CD9900AD71A6 /* WebCoreObjCExtras.mm in Sources */ = {isa = PBXBuildFile; fileRef = B50F5B800E96CD9900AD71A6 /* WebCoreObjCExtras.mm */; settings = {COMPILER_FLAGS = "-Wno-deprecated-declarations"; }; }; B5A684220FFABE9800D24689 /* SQLiteFileSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = B5A684210FFABE9800D24689 /* SQLiteFileSystem.h */; }; B5A684240FFABEAA00D24689 /* SQLiteFileSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B5A684230FFABEAA00D24689 /* SQLiteFileSystem.cpp */; }; + B6D39711103AF29D00A83BC7 /* MockGeolocationService.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B6D39710103AF29D00A83BC7 /* MockGeolocationService.cpp */; }; + B6D39715103AF2BB00A83BC7 /* MockGeolocationService.h in Headers */ = {isa = PBXBuildFile; fileRef = B6D39714103AF2BB00A83BC7 /* MockGeolocationService.h */; }; BC00F0040E0A185500FD04E3 /* DOMFile.h in Headers */ = {isa = PBXBuildFile; fileRef = BC00EFFE0E0A185500FD04E3 /* DOMFile.h */; }; BC00F0050E0A185500FD04E3 /* DOMFile.mm in Sources */ = {isa = PBXBuildFile; fileRef = BC00EFFF0E0A185500FD04E3 /* DOMFile.mm */; }; BC00F0060E0A185500FD04E3 /* DOMFileInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = BC00F0000E0A185500FD04E3 /* DOMFileInternal.h */; }; @@ -8725,6 +8727,8 @@ B50F5B800E96CD9900AD71A6 /* WebCoreObjCExtras.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCoreObjCExtras.mm; sourceTree = "<group>"; }; B5A684210FFABE9800D24689 /* SQLiteFileSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SQLiteFileSystem.h; path = sql/SQLiteFileSystem.h; sourceTree = "<group>"; }; B5A684230FFABEAA00D24689 /* SQLiteFileSystem.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SQLiteFileSystem.cpp; path = sql/SQLiteFileSystem.cpp; sourceTree = "<group>"; }; + B6D39710103AF29D00A83BC7 /* MockGeolocationService.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MockGeolocationService.cpp; sourceTree = "<group>"; }; + B6D39714103AF2BB00A83BC7 /* MockGeolocationService.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MockGeolocationService.h; sourceTree = "<group>"; }; BC00EFFE0E0A185500FD04E3 /* DOMFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMFile.h; sourceTree = "<group>"; }; BC00EFFF0E0A185500FD04E3 /* DOMFile.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMFile.mm; sourceTree = "<group>"; }; BC00F0000E0A185500FD04E3 /* DOMFileInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMFileInternal.h; sourceTree = "<group>"; }; @@ -14099,6 +14103,8 @@ A8239DFF09B3CF8A00B60641 /* Logging.h */, BC772C4C0C4EB3040083285F /* MIMETypeRegistry.cpp */, BC772C4D0C4EB3040083285F /* MIMETypeRegistry.h */, + B6D39714103AF2BB00A83BC7 /* MockGeolocationService.h */, + B6D39710103AF29D00A83BC7 /* MockGeolocationService.cpp */, 4B2708C50AF19EE40065127F /* Pasteboard.h */, 935C476609AC4D4300A6AAB4 /* PlatformKeyboardEvent.h */, 932871BF0B20DEB70049035A /* PlatformMenuDescription.h */, @@ -17185,6 +17191,7 @@ 49484FC8102CF23C00187DD3 /* CanvasPixelArray.h in Headers */, 49484FCB102CF23C00187DD3 /* CanvasRenderingContext2D.h in Headers */, 49484FCE102CF23C00187DD3 /* CanvasStyle.h in Headers */, + B6D39715103AF2BB00A83BC7 /* MockGeolocationService.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -19236,6 +19243,7 @@ 49484FC7102CF23C00187DD3 /* CanvasPixelArray.cpp in Sources */, 49484FCA102CF23C00187DD3 /* CanvasRenderingContext2D.cpp in Sources */, 49484FCD102CF23C00187DD3 /* CanvasStyle.cpp in Sources */, + B6D39711103AF29D00A83BC7 /* MockGeolocationService.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/WebCore/page/PositionOptions.h b/WebCore/page/PositionOptions.h index 0a7f625..ee8530a 100644 --- a/WebCore/page/PositionOptions.h +++ b/WebCore/page/PositionOptions.h @@ -37,7 +37,7 @@ public: bool enableHighAccuracy() const { return m_highAccuracy; } void setEnableHighAccuracy(bool enable) { m_highAccuracy = enable; } - bool hasTimeout() { return m_hasTimeout; } + bool hasTimeout() const { return m_hasTimeout; } int timeout() const { ASSERT(hasTimeout()); diff --git a/WebCore/platform/MockGeolocationService.cpp b/WebCore/platform/MockGeolocationService.cpp index 481d588..d26e5b2 100755 --- a/WebCore/platform/MockGeolocationService.cpp +++ b/WebCore/platform/MockGeolocationService.cpp @@ -69,7 +69,7 @@ void MockGeolocationService::setError(PassRefPtr<PositionError> error) makeGeolocationCallbackFromAllInstances(); } -bool MockGeolocationService::startUpdating(PositionOptions* options) +bool MockGeolocationService::startUpdating(PositionOptions*) { m_timer.startOneShot(0); return true; @@ -77,7 +77,7 @@ bool MockGeolocationService::startUpdating(PositionOptions* options) void MockGeolocationService::timerFired(Timer<MockGeolocationService>* timer) { - ASSERT(timer == m_timer); + ASSERT(timer == &m_timer); makeGeolocationCallback(); } |