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

Unified Diff: extensions/browser/extension_host.cc

Issue 1743143002: Remove WebContents::Was{Hidden,Shown}() from the content public interface Base URL: https://chromium.googlesource.com/chromium/src.git@20160225-WebContents-DicardCursorRects
Patch Set: Fix androido Created 4 years, 10 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: extensions/browser/extension_host.cc
diff --git a/extensions/browser/extension_host.cc b/extensions/browser/extension_host.cc
index 352619a895edb79491b67403875e0573b54fc473..bd8f7f80f1222fddfa918c922c92deb4ced69f8b 100644
--- a/extensions/browser/extension_host.cc
+++ b/extensions/browser/extension_host.cc
@@ -170,7 +170,7 @@ void ExtensionHost::CreateRenderViewNow() {
extensions::BackgroundInfo::HasPersistentBackgroundPage(
extension_)) ||
group_name == "ThrottleAll") {
- host_contents_->WasHidden();
+ host_contents_->MarkBackgrounded();
}
}
// TODO(robliao): Remove ScopedTracker below once crbug.com/464206 is fixed.
« content/public/browser/web_contents.h ('K') | « content/public/test/web_contents_tester.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698