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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: 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 047dea7177951756c1837ba7971a595a21782ff5..181a2a7e563571f36157ba9c0e63469fa68fa120 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*>(WillBeHeapSupplement<Document>::from(document, kSupplementName));
+ PaintTiming* timing = static_cast<PaintTiming*>(HeapSupplement<Document>::from(document, kSupplementName));
if (!timing) {
timing = new PaintTiming(document);
- WillBeHeapSupplement<Document>::provideTo(document, kSupplementName, adoptPtrWillBeNoop(timing));
+ HeapSupplement<Document>::provideTo(document, kSupplementName, (timing));
}
return *timing;
}

Powered by Google App Engine
This is Rietveld 408576698