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

Unified Diff: third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp

Issue 1441083002: Oilpan: move NavigatorContentUtilsClients to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add back non-Oilpan USING_FAST_MALLOC() usage for NavigatorContentUtilsClient Created 5 years, 1 month 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/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
index e1a30e98422ae66f012ac7eef8638a2edbc57f8f..dd9cd831a48296bcfc0e9a741a072065df6be007 100644
--- a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
+++ b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
@@ -16,7 +16,7 @@ void InternalsNavigatorContentUtils::setNavigatorContentUtilsClientMock(Internal
{
ASSERT(document && document->page());
NavigatorContentUtils* navigatorContentUtils = NavigatorContentUtils::from(*document->frame());
- navigatorContentUtils->setClientForTest(adoptPtr(new NavigatorContentUtilsClientMock()));
+ navigatorContentUtils->setClientForTest(NavigatorContentUtilsClientMock::create());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698