summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 23:09:32 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 23:09:32 +0000
commit23b45d198091b8709fde371233c8f71954020521 (patch)
tree7fc8c2c8582b4c5f1043e2af282afb1111f6ca6d
parentdac3cc593b04c9306f0e80569b35aba47ab8261b (diff)
downloadchromium_src-23b45d198091b8709fde371233c8f71954020521.zip
chromium_src-23b45d198091b8709fde371233c8f71954020521.tar.gz
chromium_src-23b45d198091b8709fde371233c8f71954020521.tar.bz2
Disable preloading domui menu page
Disabling preloadinge domui menu page. This is a tentative workaround for test failures that expects certain number of page load in test until we make decision about domui. TBR=zelidrag@chromium.org BUG=59421 TEST=MetricsServiceTest.CloseRenderersNormally should cycle green Review URL: http://codereview.chromium.org/3788007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62990 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/chromeos/views/domui_menu_widget.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/views/domui_menu_widget.cc b/chrome/browser/chromeos/views/domui_menu_widget.cc
index 4fedbdd..1657ddc 100644
--- a/chrome/browser/chromeos/views/domui_menu_widget.cc
+++ b/chrome/browser/chromeos/views/domui_menu_widget.cc
@@ -185,8 +185,12 @@ class DOMViewCache : NotificationObserver {
}
cache_ = new DOMView();
cache_->Init(current_profile_, NULL);
+ /**
+ * Tentative workaround for the failing tests that expects
+ * page loads.
cache_->LoadURL(
GURL(StringPrintf("chrome://%s", chrome::kChromeUIMenu)));
+ */
CheckClassInvariant();
}