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

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

Issue 706193003: [WebGL-chromium]Test to validate glinfo when webglcontext fails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for build error. Created 6 years, 1 month 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 | « no previous file | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_runner.h
diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h
index 69c5cb646ec0b243e45683ac85c525b7f5858429..6523db3dcbdca4e06e8a4517c571a3360a84b6fc 100644
--- a/content/shell/renderer/test_runner/test_runner.h
+++ b/content/shell/renderer/test_runner/test_runner.h
@@ -591,6 +591,9 @@ class TestRunner : public WebTestRunner,
// test.
void LocationChangeDone();
+ // Sets a flag causing the next call to WebGLRenderingContext::create to fail.
+ void forceNextWebGLContextCreationToFail(bool);
Ken Russell (switch to Gerrit) 2014/11/10 19:52:14 The boolean argument isn't needed. The flag should
sivag 2014/11/11 12:50:57 Done.
+
bool test_is_running_;
// When reset is called, go through and close all but the main test shell
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698