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

Unified Diff: src/core/SkGraphics.cpp

Issue 13699004: first draft of error checking / reporting API (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 8 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
Index: src/core/SkGraphics.cpp
diff --git a/src/core/SkGraphics.cpp b/src/core/SkGraphics.cpp
index 8e7c7cd31db1c450455a4b12fbd1c837ae4e6f95..50e003a6e769bd2a5613f07f63d12867a57fe3fd 100644
--- a/src/core/SkGraphics.cpp
+++ b/src/core/SkGraphics.cpp
@@ -28,6 +28,7 @@
#include "SkTime.h"
#include "SkUtils.h"
#include "SkXfermode.h"
+#include "SkErrorInternals.h"
void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) {
if (major) {
@@ -52,6 +53,8 @@ void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) {
#endif
void SkGraphics::Init() {
+ SkErrorInternals::Init();
+
#ifdef SK_DEVELOPER
skRTConfRegistry().possiblyDumpFile();
skRTConfRegistry().validate();

Powered by Google App Engine
This is Rietveld 408576698