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

Unified Diff: src/views/mac/SkSampleNSView.mm

Issue 16337012: Smallest possible desktop application that uses Skia to render stuff. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Initial support for OSX (not working yet). Code review fixes. Created 7 years, 6 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 | « gyp/experimental.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/views/mac/SkSampleNSView.mm
diff --git a/src/views/mac/SkSampleNSView.mm b/src/views/mac/SkSampleNSView.mm
index ce5f8aab0a0b24546bdb9fa0b809deb6d5624f29..6fd9ed3a7823170698fe33e039a4e83d0aa1ab56 100644
--- a/src/views/mac/SkSampleNSView.mm
+++ b/src/views/mac/SkSampleNSView.mm
@@ -7,13 +7,16 @@
*/
#import "SkSampleNSView.h"
+
+#include "SkApplication.h"
#include "SampleApp.h"
+
#include <crt_externs.h>
@implementation SkSampleNSView
- (id)initWithDefaults {
if ((self = [super initWithDefaults])) {
- fWind = new SampleWindow(self, *_NSGetArgc(), *_NSGetArgv(), NULL);
+ fWind = create_sk_window(self, *_NSGetArgc(), *_NSGetArgv());
sglez 2013/06/11 04:24:38 This seemed like the right thing to do, since Linu
}
return self;
}
« no previous file with comments | « gyp/experimental.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698