aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/SimpleiOSApp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-09-08 15:18:21 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-08 15:18:21 -0700
commit925979f733fe8e70d84627147dee04d030423349 (patch)
tree03c2147d139a3214b4293aedc6c8115d42e21bf5 /experimental/SimpleiOSApp
parent87a5c9fa0ff6fdf5225df53666798a2d513ade6d (diff)
Make SkGraphics::Term a no-op, stop calling it.
I'd remove it entirely but Android is calling it explicitly. BUG=skia:4259 Review URL: https://codereview.chromium.org/1329853005
Diffstat (limited to 'experimental/SimpleiOSApp')
-rw-r--r--experimental/SimpleiOSApp/SimpleApp.mm10
1 files changed, 8 insertions, 2 deletions
diff --git a/experimental/SimpleiOSApp/SimpleApp.mm b/experimental/SimpleiOSApp/SimpleApp.mm
index 040472cfe3..123449f4e6 100644
--- a/experimental/SimpleiOSApp/SimpleApp.mm
+++ b/experimental/SimpleiOSApp/SimpleApp.mm
@@ -1,3 +1,10 @@
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
#include "SkApplication.h"
#import "SkCanvas.h"
#import "SkPaint.h"
@@ -26,7 +33,7 @@ protected:
canvas->drawRect(r, p);
}
private:
- typedef SkView INHERITED;
+ typedef SkView INHERITED;
};
void application_init() {
@@ -35,7 +42,6 @@ void application_init() {
}
void application_term() {
- SkGraphics::Term();
SkEvent::Term();
}