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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp

Issue 2630703002: Rename Supplement::host() to Supplement::supplementable() (Closed)
Patch Set: temp Created 3 years, 11 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/dom/DocumentParserTiming.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp b/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
index 3abaf1dba7458ecd030ab3593c1179e7f287b005..850185e507b7e542e5b4de9265dccdd5120c5aec 100644
--- a/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
@@ -72,8 +72,8 @@ DocumentParserTiming::DocumentParserTiming(Document& document)
: Supplement<Document>(document) {}
void DocumentParserTiming::notifyDocumentParserTimingChanged() {
- if (host()->loader())
- host()->loader()->didChangePerformanceTiming();
+ if (supplementable()->loader())
+ supplementable()->loader()->didChangePerformanceTiming();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698