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

Unified Diff: src/views/unix/skia_unix.cpp

Issue 2229853002: Sample app uses Ganesh before calling SkGraphics::Init(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « src/views/mac/skia_mac.mm ('k') | src/views/win/skia_win.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/views/unix/skia_unix.cpp
diff --git a/src/views/unix/skia_unix.cpp b/src/views/unix/skia_unix.cpp
index 58cc040c1ec2e139b455fe43dd69f659a5b62fdb..9f990596252063180851258aeaf7c826f2c02c45 100644
--- a/src/views/unix/skia_unix.cpp
+++ b/src/views/unix/skia_unix.cpp
@@ -7,9 +7,11 @@
#include "SkApplication.h"
#include "SkEvent.h"
+#include "SkGraphics.h"
#include "SkWindow.h"
int main(int argc, char** argv){
+ SkGraphics::Init();
SkOSWindow* window = create_sk_window(nullptr, argc, argv);
// drain any events that occurred before |window| was assigned.
« no previous file with comments | « src/views/mac/skia_mac.mm ('k') | src/views/win/skia_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698