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

Unified Diff: third_party/WebKit/Source/core/editing/EditingTestBase.cpp

Issue 2711053002: Ensure spell checking is enabled in SpellCheckerTest (Closed)
Patch Set: Keep editing changes only Created 3 years, 10 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/editing/EditingTestBase.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingTestBase.cpp b/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
index f41ad2a800dde336df3054779e253e0ee801a0c3..78cc0cc20f3708a2eb699fccaa2b46abbff240f2 100644
--- a/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
@@ -33,6 +33,11 @@ void EditingTestBase::SetUp() {
m_dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
}
+void EditingTestBase::setupPageWithClients(Page::PageClients* clients) {
+ DCHECK(!m_dummyPageHolder) << "Page should be set up only once";
+ m_dummyPageHolder = DummyPageHolder::create(IntSize(800, 600), clients);
+}
+
ShadowRoot* EditingTestBase::createShadowRootForElementWithIDAndSetInnerHTML(
TreeScope& scope,
const char* hostElementID,

Powered by Google App Engine
This is Rietveld 408576698