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

Unified Diff: android_webview/native/aw_contents.cc

Issue 2379253002: Remove ContentViewCore::PauseOrResumeGeolocation() (Closed)
Patch Set: comment Created 4 years, 2 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: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 335886a2bfa4fb091a07535e41ac3dfdf59725fd..2838dda4fc4ea31bcb3af301362bd0519e103ee7 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -850,11 +850,6 @@ void AwContents::SetIsPaused(JNIEnv* env,
bool paused) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
browser_view_renderer_.SetIsPaused(paused);
- ContentViewCore* cvc =
- ContentViewCore::FromWebContents(web_contents_.get());
- if (cvc) {
- cvc->PauseOrResumeGeolocation(paused);
- }
}
void AwContents::OnAttachedToWindow(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698