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

Unified Diff: experimental/iOSSampleApp/Shared/SkUIView.mm

Issue 1595503002: SampleApp: Remove SkWindow::setColorType (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: mac build fix Created 4 years, 11 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 | « experimental/SkV8Example/SkV8Example.cpp ('k') | experimental/iOSSampleApp/SkSampleUIView.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/iOSSampleApp/Shared/SkUIView.mm
diff --git a/experimental/iOSSampleApp/Shared/SkUIView.mm b/experimental/iOSSampleApp/Shared/SkUIView.mm
index e2dce54a69310fd9929f05aa41bfea88c22a2f00..df55619e4c54eb7b5f9dc6fdc580b7d88ff998ad 100644
--- a/experimental/iOSSampleApp/Shared/SkUIView.mm
+++ b/experimental/iOSSampleApp/Shared/SkUIView.mm
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
#import "SkUIView.h"
#include "SkCanvas.h"
#include "SkCGUtils.h"
@@ -29,8 +35,7 @@
- (void)setUpWindow {
if (NULL != fWind) {
fWind->setVisibleP(true);
- fWind->resize(self.frame.size.width, self.frame.size.height,
- kN32_SkColorType);
+ fWind->resize(self.frame.size.width, self.frame.size.height);
}
}
« no previous file with comments | « experimental/SkV8Example/SkV8Example.cpp ('k') | experimental/iOSSampleApp/SkSampleUIView.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698