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(); |
} |