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

Unified Diff: tools/fiddle/draw.cpp

Issue 2202353002: gn: fix fiddle (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: simpler Created 4 years, 4 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 | « include/images/SkForceLinking.h ('k') | tools/fiddle/fiddle_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/fiddle/draw.cpp
diff --git a/tools/fiddle/draw.cpp b/tools/fiddle/draw.cpp
index 78f428da2a6ad08853d34868500e5586185c571b..68cbbdf8d60e0c62c5f2ee59220e0adbd065d652 100644
--- a/tools/fiddle/draw.cpp
+++ b/tools/fiddle/draw.cpp
@@ -12,7 +12,7 @@
#include "fiddle_main.h"
DrawOptions GetDrawOptions() {
// path *should* be absolute.
- static const char path[] = "../../resources/color_wheel.png";
+ static const char path[] = "resources/color_wheel.png";
return DrawOptions(256, 256, true, true, true, true, path);
}
void draw(SkCanvas* canvas) {
« no previous file with comments | « include/images/SkForceLinking.h ('k') | tools/fiddle/fiddle_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698