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

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: Changed code as per review comments. 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
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..83b4b54af8cafc80e7a6cca0fa59e76d141f58d6 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();
tkent 2014/11/12 00:19:18 force -> Force
sivag 2014/11/12 18:47:21 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') | content/shell/renderer/test_runner/test_runner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698