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

Unified Diff: third_party/WebKit/Source/core/paint/PaintTiming.cpp

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 ddc36278b7a868cb235b32d4c260968bf159239e..9fffec3f97b306460739459add82502f695698e2 100644
--- a/third_party/WebKit/Source/core/paint/PaintTiming.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintTiming.cpp
@@ -15,10 +15,10 @@ static const char kSupplementName[] = "PaintTiming";
PaintTiming& PaintTiming::from(Document& document)
{
- PaintTiming* timing = static_cast<PaintTiming*>(HeapSupplement<Document>::from(document, kSupplementName));
+ PaintTiming* timing = static_cast<PaintTiming*>(Supplement<Document>::from(document, kSupplementName));
if (!timing) {
timing = new PaintTiming(document);
- HeapSupplement<Document>::provideTo(document, kSupplementName, timing);
+ Supplement<Document>::provideTo(document, kSupplementName, timing);
}
return *timing;
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintTiming.h ('k') | third_party/WebKit/Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698