diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 00:27:41 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 00:27:41 +0000 |
commit | fa8cfb0369dc6f6b7470d1163773709d876b0845 (patch) | |
tree | 69c61e6fb0bbe674ea38804bcf4fb63ebde1f76b /ui/gfx/canvas.h | |
parent | 635828e6ae639418fdc2a53a1cd9ef07165d7d7f (diff) | |
download | chromium_src-fa8cfb0369dc6f6b7470d1163773709d876b0845.zip chromium_src-fa8cfb0369dc6f6b7470d1163773709d876b0845.tar.gz chromium_src-fa8cfb0369dc6f6b7470d1163773709d876b0845.tar.bz2 |
CanvasSkia::Transform should be enabled on the Mac
Enables CanvasSkia::Transform on Mac. It works fine and is
needed for the Mac/Aura work.
BUG=109946
TEST=Compiles, manual testing with Mac/Aura
R=ben@chromium.org
Review URL: http://codereview.chromium.org/9148066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r-- | ui/gfx/canvas.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h index 7942a93..c3af1e3 100644 --- a/ui/gfx/canvas.h +++ b/ui/gfx/canvas.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -212,10 +212,8 @@ class UI_EXPORT Canvas { // returned by BeginPlatformPaint(). virtual void EndPlatformPaint() = 0; -#if !defined(OS_MACOSX) // Apply transformation on the canvas. virtual void Transform(const ui::Transform& transform) = 0; -#endif // Create a texture ID that can be used for accelerated drawing. virtual ui::TextureID GetTextureID() = 0; |