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

Unified Diff: Source/core/loader/EmptyClients.cpp

Issue 1291903003: Oilpan: Move ChromeClient classes into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/svg/graphics/SVGImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/EmptyClients.cpp
diff --git a/Source/core/loader/EmptyClients.cpp b/Source/core/loader/EmptyClients.cpp
index 597dd4306bb947e63c5ef782cdaffddc9c02875e..ad8a00f689bc151f1b980bd899112af3a5b58d44 100644
--- a/Source/core/loader/EmptyClients.cpp
+++ b/Source/core/loader/EmptyClients.cpp
@@ -45,7 +45,7 @@ namespace blink {
void fillWithEmptyClients(Page::PageClients& pageClients)
{
- static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).leakPtr();
+ static ChromeClient* dummyChromeClient = EmptyChromeClient::create().leakPtr();
haraken 2015/08/13 10:52:06 Not related to this CL, it would be better to use
Yuta Kitamura 2015/08/14 04:40:38 Done.
pageClients.chromeClient = dummyChromeClient;
static ContextMenuClient* dummyContextMenuClient = adoptPtr(new EmptyContextMenuClient).leakPtr();
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/svg/graphics/SVGImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698