Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(880)

Unified Diff: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
diff --git a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
index 634e878327c79059024b94374b9c1dae5838115e..19d50a7ceb1dc26c0b62679286cdf473ec3b4d67 100644
--- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
+++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
@@ -112,7 +112,7 @@ DEFINE_TRACE(Geolocation)
Document* Geolocation::document() const
{
- return toDocument(executionContext());
+ return toDocument(getExecutionContext());
}
LocalFrame* Geolocation::frame() const
@@ -187,7 +187,7 @@ int Geolocation::watchPosition(PositionCallback* successCallback, PositionErrorC
int watchID;
// Keep asking for the next id until we're given one that we don't already have.
do {
- watchID = executionContext()->circularSequentialID();
+ watchID = getExecutionContext()->circularSequentialID();
} while (!m_watchers.add(watchID, notifier));
return watchID;
}
@@ -196,7 +196,7 @@ void Geolocation::startRequest(GeoNotifier *notifier)
{
recordOriginTypeAccess();
String errorMessage;
- if (!frame()->settings()->allowGeolocationOnInsecureOrigins() && !executionContext()->isSecureContext(errorMessage)) {
+ if (!frame()->settings()->allowGeolocationOnInsecureOrigins() && !getExecutionContext()->isSecureContext(errorMessage)) {
notifier->setFatalError(PositionError::create(PositionError::PERMISSION_DENIED, errorMessage));
return;
}
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/GamepadEvent.idl ('k') | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698