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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutMenuList.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/LayoutMenuList.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
index 5767913e7c84d7024d34b27caf3b75b3712500d6..b8f9b0ca5be932c627f4fb33ff517249f95a11da 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
@@ -165,7 +165,7 @@ void LayoutMenuList::styleDidChange(StyleDifference diff, const ComputedStyle* o
void LayoutMenuList::updateOptionsWidth()
{
float maxOptionWidth = 0;
- const WillBeHeapVector<RawPtrWillBeMember<HTMLElement>>& listItems = selectElement()->listItems();
+ const HeapVector<Member<HTMLElement>>& listItems = selectElement()->listItems();
int size = listItems.size();
for (int i = 0; i < size; ++i) {
@@ -220,7 +220,7 @@ void LayoutMenuList::updateText()
void LayoutMenuList::setTextFromOption(int optionIndex)
{
HTMLSelectElement* select = selectElement();
- const WillBeHeapVector<RawPtrWillBeMember<HTMLElement>>& listItems = select->listItems();
+ const HeapVector<Member<HTMLElement>>& listItems = select->listItems();
const int size = listItems.size();
String text = emptyString();

Powered by Google App Engine
This is Rietveld 408576698