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

Unified Diff: src/views/win/skia_win.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/unix/skia_unix.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/views/win/skia_win.cpp
diff --git a/src/views/win/skia_win.cpp b/src/views/win/skia_win.cpp
index fc07bd46da591d9121affeae9932ea9145d3d55b..df600d771cb93fd520bc16d6e8223ecd500e66b7 100644
--- a/src/views/win/skia_win.cpp
+++ b/src/views/win/skia_win.cpp
@@ -10,6 +10,7 @@
#include <tchar.h>
#include "SkApplication.h"
+#include "SkGraphics.h"
#include "SkOSWindow_Win.h"
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
@@ -79,6 +80,7 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCm
}
int main(int argc, char**argv) {
+ SkGraphics::Init();
return main_common(GetModuleHandle(NULL), SW_SHOW, argc, argv);
}
« no previous file with comments | « src/views/unix/skia_unix.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698