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

Unified Diff: Source/web/PopupMenuTest.cpp

Issue 603193005: Move the Widget hierarchy to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch LocalFrame::m_pluginElements rep to HashSet<HTMLPlugInElement*> Created 6 years, 2 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: Source/web/PopupMenuTest.cpp
diff --git a/Source/web/PopupMenuTest.cpp b/Source/web/PopupMenuTest.cpp
index 641fdbd0b04a7d52a9f3b0f7c41f84f9374cdf88..75c3ee247f18d41bdb218f8928011060939a847f 100644
--- a/Source/web/PopupMenuTest.cpp
+++ b/Source/web/PopupMenuTest.cpp
@@ -126,7 +126,7 @@ public:
virtual FontSelector* fontSelector() const { return 0; }
virtual HostWindow* hostWindow() const { return 0; }
- virtual PassRefPtr<Scrollbar> createScrollbar(ScrollableArea*, ScrollbarOrientation, ScrollbarControlSize) { return nullptr; }
+ virtual PassRefPtrWillBeRawPtr<Scrollbar> createScrollbar(ScrollableArea*, ScrollbarOrientation, ScrollbarControlSize) { return nullptr; }
void setDisabledIndex(unsigned index) { m_disabledIndexSet.insert(index); }
void setFocusedNode(Node* node) { m_node = node; }
@@ -195,6 +195,7 @@ protected:
virtual void TearDown()
{
+ m_popupMenu->disconnectClient();
Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
}

Powered by Google App Engine
This is Rietveld 408576698