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

Unified Diff: content/shell/renderer/test_runner/test_runner.cc

Issue 224683003: Remove testRunner.display() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 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 | « content/shell/renderer/test_runner/test_runner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index a16d3115a37a59c6cb365c961762a3b605ff8a98..ee1652e0d072e27c26826635e6d0f179d17625c3 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> {
bool WasMockSpeechRecognitionAborted();
void AddWebPageOverlay();
void RemoveWebPageOverlay();
- void Display();
void DisplayAsync();
void DisplayAsyncThen(v8::Handle<v8::Function> callback);
@@ -481,7 +480,6 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder(
.SetMethod("addWebPageOverlay", &TestRunnerBindings::AddWebPageOverlay)
.SetMethod("removeWebPageOverlay",
&TestRunnerBindings::RemoveWebPageOverlay)
- .SetMethod("display", &TestRunnerBindings::Display)
.SetMethod("displayAsync", &TestRunnerBindings::DisplayAsync)
.SetMethod("displayAsyncThen", &TestRunnerBindings::DisplayAsyncThen)
@@ -1233,11 +1231,6 @@ void TestRunnerBindings::RemoveWebPageOverlay() {
runner_->RemoveWebPageOverlay();
}
-void TestRunnerBindings::Display() {
- if (runner_)
- runner_->Display();
-}
-
void TestRunnerBindings::DisplayAsync() {
if (runner_)
runner_->DisplayAsync();
@@ -2584,10 +2577,6 @@ void TestRunner::RemoveWebPageOverlay() {
}
}
-void TestRunner::Display() {
- proxy_->display(base::Closure());
-}
-
void TestRunner::DisplayAsync() {
proxy_->displayAsyncThen(base::Closure());
}
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698