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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 2284503002: Minor UseCounter clean-ups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 887326eada4986fe5c4b1e09664b26df0716726a..ebdb475f1757fbaccd3605004d75f276fe127e73 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -433,6 +433,8 @@ void Page::updateAcceleratedCompositingSettings()
void Page::didCommitLoad(LocalFrame* frame)
{
if (m_mainFrame == frame) {
+ // TODO(rbyers): Most of this doesn't appear to take into account that each
+ // SVGImage gets it's own Page instance.
frameHost().consoleMessageStorage().clear();
useCounter().didCommitLoad();
deprecation().clearSuppression();

Powered by Google App Engine
This is Rietveld 408576698