summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gpu_pixel_browsertest.cc
diff options
context:
space:
mode:
authorjrt@chromium.org <jrt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 03:46:03 +0000
committerjrt@chromium.org <jrt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 03:46:03 +0000
commit0fac410e6e465f5f5342e71c8550aafd2e2af676 (patch)
tree022402cab046647889123fea5e2c5be79423786f /chrome/browser/gpu_pixel_browsertest.cc
parentea3350f770ebf8a3d70ae14ec8397c9fdb4953b2 (diff)
downloadchromium_src-0fac410e6e465f5f5342e71c8550aafd2e2af676.zip
chromium_src-0fac410e6e465f5f5342e71c8550aafd2e2af676.tar.gz
chromium_src-0fac410e6e465f5f5342e71c8550aafd2e2af676.tar.bz2
Re-Fix DOM exception on GPU pixel browser test.
After r94232, the test still failed with "Uncaught Error: SECURITY_ERR: DOM Exception 18." Now it should not. BUG=89964 TEST=gpu_tests --gtest_filter=GpuPixelBrowserTest.WebGLTeapot Review URL: http://codereview.chromium.org/7532021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gpu_pixel_browsertest.cc')
-rw-r--r--chrome/browser/gpu_pixel_browsertest.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/gpu_pixel_browsertest.cc b/chrome/browser/gpu_pixel_browsertest.cc
index 2d3d226..63072b3 100644
--- a/chrome/browser/gpu_pixel_browsertest.cc
+++ b/chrome/browser/gpu_pixel_browsertest.cc
@@ -128,11 +128,10 @@ class GpuPixelBrowserTest : public InProcessBrowserTest {
command_line->AppendSwitch(switches::kDisableAcceleratedCompositing);
#endif
using_gpu_ = false;
-
- // Allow file access from "file://" protocol. Otherwise, test fails with
- // "Uncaught Error: SECURITY_ERR: DOM Exception 18."
- command_line->AppendSwitch(switches::kAllowFileAccessFromFiles);
}
+ // Allow file access from "file://" protocol. Otherwise, test fails with
+ // "Uncaught Error: SECURITY_ERR: DOM Exception 18."
+ command_line->AppendSwitch(switches::kAllowFileAccessFromFiles);
}
virtual void SetUpInProcessBrowserTestFixture() {