From 13ec9e7a12fd21e8f3e4f07fd925d26ade95e0f4 Mon Sep 17 00:00:00 2001 From: "hajimehoshi@chromium.org" Date: Thu, 13 Feb 2014 15:32:49 +0000 Subject: Remove WebKitTestController::TimeoutHandler WebKitTestController::TimeoutHandler doesn't seem to be used anywhere. Review URL: https://codereview.chromium.org/162903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251023 0039d316-1c4b-4281-b951-d872f2087c98 --- content/shell/browser/webkit_test_controller.cc | 7 ------- content/shell/browser/webkit_test_controller.h | 1 - 2 files changed, 8 deletions(-) (limited to 'content/shell/browser') diff --git a/content/shell/browser/webkit_test_controller.cc b/content/shell/browser/webkit_test_controller.cc index 9a3b92b..cd9e6ff 100644 --- a/content/shell/browser/webkit_test_controller.cc +++ b/content/shell/browser/webkit_test_controller.cc @@ -457,13 +457,6 @@ void WebKitTestController::OnGpuProcessCrashed( DiscardMainWindow(); } -void WebKitTestController::TimeoutHandler() { - DCHECK(CalledOnValidThread()); - printer_->AddErrorMessage( - "FAIL: Timed out waiting for notifyDone to be called"); - DiscardMainWindow(); -} - void WebKitTestController::DiscardMainWindow() { // If we're running a test, we need to close all windows and exit the message // loop. Otherwise, we're already outside of the message loop, and we just diff --git a/content/shell/browser/webkit_test_controller.h b/content/shell/browser/webkit_test_controller.h index 865e395..c692cd3 100644 --- a/content/shell/browser/webkit_test_controller.h +++ b/content/shell/browser/webkit_test_controller.h @@ -154,7 +154,6 @@ class WebKitTestController : public base::NonThreadSafe, static WebKitTestController* instance_; - void TimeoutHandler(); void DiscardMainWindow(); void SendTestConfiguration(); -- cgit v1.1