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

Unified Diff: skia/ext/platform_device_mac.cc

Issue 2011713003: Roll skia to 8cc209111876b7c78b5ec577c9221d8ed5e21024 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « skia/ext/platform_device_linux.cc ('k') | skia/ext/platform_device_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_device_mac.cc
diff --git a/skia/ext/platform_device_mac.cc b/skia/ext/platform_device_mac.cc
deleted file mode 100644
index 065b7670556380c54872f7ebea5f0192b712d73a..0000000000000000000000000000000000000000
--- a/skia/ext/platform_device_mac.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "skia/ext/platform_device.h"
-#include "skia/ext/bitmap_platform_device.h"
-
-#import <ApplicationServices/ApplicationServices.h>
-#include "skia/ext/skia_utils_mac.h"
-#include "third_party/skia/include/core/SkMatrix.h"
-#include "third_party/skia/include/core/SkPath.h"
-#include "third_party/skia/include/core/SkTypes.h"
-#include "third_party/skia/include/core/SkUtils.h"
-
-namespace skia {
-
-CGContextRef GetBitmapContext(SkBaseDevice* device) {
- PlatformDevice* platform_device = GetPlatformDevice(device);
- if (platform_device)
- return platform_device->GetBitmapContext();
-
- return NULL;
-}
-
-CGContextRef PlatformDevice::BeginPlatformPaint() {
- return GetBitmapContext();
-}
-
-void PlatformDevice::EndPlatformPaint() {
- // Flushing will be done in onAccessBitmap.
-}
-
-} // namespace skia
« no previous file with comments | « skia/ext/platform_device_linux.cc ('k') | skia/ext/platform_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698