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

Unified Diff: third_party/WebKit/Source/core/testing/DummyPageHolder.cpp

Issue 1507633003: Clarify ordinary page handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace Created 4 years, 12 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/testing/DummyPageHolder.cpp
diff --git a/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp b/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
index aa1e1d5620e856e54042f16f7fca1c74f919d0f8..9a6696d9f19bb6e56a18f89af168c73c467582ae 100644
--- a/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
+++ b/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
@@ -68,7 +68,7 @@ DummyPageHolder::DummyPageHolder(
pageClients.dragClient = pageClientsArgument->dragClient;
pageClients.spellCheckerClient = pageClientsArgument->spellCheckerClient;
}
- m_page = adoptPtrWillBeNoop(new Page(pageClients));
+ m_page = Page::create(pageClients);
Settings& settings = m_page->settings();
// FIXME: http://crbug.com/363843. This needs to find a better way to
// not create graphics layers.

Powered by Google App Engine
This is Rietveld 408576698