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

Unified Diff: bench/PatchGridBench.cpp

Issue 1379853003: Fix for nexus 5 crashing in GL benches (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 3 months 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 | « bench/PatchBench.cpp ('k') | bench/PathBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/PatchGridBench.cpp
diff --git a/bench/PatchGridBench.cpp b/bench/PatchGridBench.cpp
index e6b44870a104ba68564e687c6ffb0b554fe95f98..dc64b537ac417ab5eea4cba30b5534f13a3c8a46 100644
--- a/bench/PatchGridBench.cpp
+++ b/bench/PatchGridBench.cpp
@@ -200,7 +200,7 @@ protected:
return fName.c_str();
}
- void onPreDraw() override {
+ void onDelayedSetup() override {
this->setGrid();
switch (fVertexMode) {
case kTexCoords_VertexMode:
« no previous file with comments | « bench/PatchBench.cpp ('k') | bench/PathBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698