diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-04 00:54:37 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-04 00:54:37 +0000 |
commit | b9bd8fccb735a48a6954af297fa188b8f2c48b0a (patch) | |
tree | ea7869d7a3565f953439cec6d710b4c130e13113 /content | |
parent | a867738b9eaad3241742acdff44ff6cfa1a016fd (diff) | |
download | chromium_src-b9bd8fccb735a48a6954af297fa188b8f2c48b0a.zip chromium_src-b9bd8fccb735a48a6954af297fa188b8f2c48b0a.tar.gz chromium_src-b9bd8fccb735a48a6954af297fa188b8f2c48b0a.tar.bz2 |
Remove displayInvalidatedRegion from testRunner
BUG=345027
Review URL: https://codereview.chromium.org/224173006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
4 files changed, 0 insertions, 20 deletions
diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp index 9d454a2..0ad4474 100644 --- a/content/shell/renderer/test_runner/WebTestProxy.cpp +++ b/content/shell/renderer/test_runner/WebTestProxy.cpp @@ -649,12 +649,6 @@ void WebTestProxyBase::display() displayRepaintMask(); } -void WebTestProxyBase::displayInvalidatedRegion() -{ - paintInvalidatedRegion(); - displayRepaintMask(); -} - void WebTestProxyBase::discardBackingStore() { m_canvas.reset(); diff --git a/content/shell/renderer/test_runner/WebTestProxy.h b/content/shell/renderer/test_runner/WebTestProxy.h index 86a24f9..b870be7 100644 --- a/content/shell/renderer/test_runner/WebTestProxy.h +++ b/content/shell/renderer/test_runner/WebTestProxy.h @@ -112,7 +112,6 @@ public: bool isChooserShown(); void display(); - void displayInvalidatedRegion(); void discardBackingStore(); blink::WebMIDIClientMock* midiClientMock(); diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc index b5804931..f831443 100644 --- a/content/shell/renderer/test_runner/test_runner.cc +++ b/content/shell/renderer/test_runner/test_runner.cc @@ -249,7 +249,6 @@ class TestRunnerBindings : public gin::Wrappable<TestRunnerBindings> { void AddWebPageOverlay(); void RemoveWebPageOverlay(); void Display(); - void DisplayInvalidatedRegion(); bool GlobalFlag(); void SetGlobalFlag(bool value); @@ -480,8 +479,6 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder( .SetMethod("removeWebPageOverlay", &TestRunnerBindings::RemoveWebPageOverlay) .SetMethod("display", &TestRunnerBindings::Display) - .SetMethod("displayInvalidatedRegion", - &TestRunnerBindings::DisplayInvalidatedRegion) // Properties. .SetProperty("globalFlag", &TestRunnerBindings::GlobalFlag, @@ -1236,11 +1233,6 @@ void TestRunnerBindings::Display() { runner_->Display(); } -void TestRunnerBindings::DisplayInvalidatedRegion() { - if (runner_) - runner_->DisplayInvalidatedRegion(); -} - bool TestRunnerBindings::GlobalFlag() { if (runner_) return runner_->global_flag_; @@ -2577,10 +2569,6 @@ void TestRunner::Display() { proxy_->display(); } -void TestRunner::DisplayInvalidatedRegion() { - proxy_->displayInvalidatedRegion(); -} - void TestRunner::LocationChangeDone() { web_history_item_count_ = delegate_->navigationEntryCount(); diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h index ff0f3ac..94448ce 100644 --- a/content/shell/renderer/test_runner/test_runner.h +++ b/content/shell/renderer/test_runner/test_runner.h @@ -503,7 +503,6 @@ class TestRunner : public ::WebTestRunner::WebTestRunner, void RemoveWebPageOverlay(); void Display(); - void DisplayInvalidatedRegion(); /////////////////////////////////////////////////////////////////////////// // Internal helpers |