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

Unified Diff: bench/DisplacementBench.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/DecodingBench.cpp ('k') | bench/DrawBitmapAABench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/DisplacementBench.cpp
diff --git a/bench/DisplacementBench.cpp b/bench/DisplacementBench.cpp
index b83d0d174fdf629aea5e61bd00c1427fe46a6503..d9ddc8b095214de221244260edc1a42d82cc171d 100644
--- a/bench/DisplacementBench.cpp
+++ b/bench/DisplacementBench.cpp
@@ -23,7 +23,7 @@ public:
}
protected:
- void onPreDraw() override {
+ void onDelayedSetup() override {
if (!fInitialized) {
this->makeBitmap();
this->makeCheckerboard();
« no previous file with comments | « bench/DecodingBench.cpp ('k') | bench/DrawBitmapAABench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698