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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTreeAsText.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/layout/LayoutTreeAsText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
index 238d82d44373be06752d70f6f059cd5b64daab71..cbe6a9c8e743e7bb058db163e0948741631d01f7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
@@ -826,7 +826,7 @@ static void writeCounterValuesFromChildren(TextStream& stream, LayoutObject* par
String counterValueForElement(Element* element)
{
// Make sure the element is not freed during the layout.
- RefPtrWillBeRawPtr<Element> protector(element);
+ RawPtr<Element> protector(element);
element->document().updateLayout();
TextStream stream;
bool isFirstCounter = true;
@@ -841,7 +841,7 @@ String counterValueForElement(Element* element)
String markerTextForListItem(Element* element)
{
// Make sure the element is not freed during the layout.
- RefPtrWillBeRawPtr<Element> protector(element);
+ RawPtr<Element> protector(element);
element->document().updateLayout();
LayoutObject* layoutObject = element->layoutObject();

Powered by Google App Engine
This is Rietveld 408576698