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

Unified Diff: third_party/WebKit/Source/core/paint/PaintTiming.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/paint/PaintTiming.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintTiming.cpp b/third_party/WebKit/Source/core/paint/PaintTiming.cpp
index 25ef6f7242c62200d277a13a47386855bf43c5d6..7edb78768dcbd61df1fee263c7d9ea3cd78e6cc3 100644
--- a/third_party/WebKit/Source/core/paint/PaintTiming.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintTiming.cpp
@@ -123,12 +123,12 @@ PaintTiming::PaintTiming(Document& document)
m_fmpDetector(new FirstMeaningfulPaintDetector(this)) {}
LocalFrame* PaintTiming::frame() const {
- return host()->frame();
+ return supplementable()->frame();
}
void PaintTiming::notifyPaintTimingChanged() {
- if (host()->loader())
- host()->loader()->didChangePerformanceTiming();
+ if (supplementable()->loader())
+ supplementable()->loader()->didChangePerformanceTiming();
}
void PaintTiming::setFirstPaint(double stamp) {

Powered by Google App Engine
This is Rietveld 408576698