diff options
author | noel <noel@chromium.org> | 2014-09-14 23:41:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-15 06:44:37 +0000 |
commit | b4d09b93421cfb242c020e1cf41cdf6374298962 (patch) | |
tree | 581d2171a8b1e5100f92c8510c39f14840228f78 /content/ppapi_plugin | |
parent | b918671e294f8ce830b5cb35ec09ecac95d3565a (diff) | |
download | chromium_src-b4d09b93421cfb242c020e1cf41cdf6374298962.zip chromium_src-b4d09b93421cfb242c020e1cf41cdf6374298962.tar.gz chromium_src-b4d09b93421cfb242c020e1cf41cdf6374298962.tar.bz2 |
Revert of [Mac] Implement a new WebSandboxSupport method to get the display's color space. (patchset #1 id:1 of https://codereview.chromium.org/549213004/)
Reason for revert:
Not needed, used https://codereview.chromium.org/554033002 instead.
Original issue's description:
> [Mac] Implement a new WebSandboxSupport method to get the display's color space.
>
> This new interface is defined at https://codereview.chromium.org/554033002/.
>
> BUG=397642,306348
> R=avi@chromium.org
>
> Committed: https://crrev.com/b6ae4d0ecc983a71a32ab1480a70e065c718c195
> Cr-Commit-Position: refs/heads/master@{#293852}
TBR=avi@chromium.org,rsesek@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=397642,306348
Review URL: https://codereview.chromium.org/563943003
Cr-Commit-Position: refs/heads/master@{#294786}
Diffstat (limited to 'content/ppapi_plugin')
-rw-r--r-- | content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc index ef6cccc..c4a1153 100644 --- a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc +++ b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc @@ -19,7 +19,6 @@ #if defined(OS_WIN) #include "third_party/WebKit/public/platform/win/WebSandboxSupport.h" #elif defined(OS_MACOSX) -#include "base/mac/mac_util.h" #include "third_party/WebKit/public/platform/mac/WebSandboxSupport.h" #elif defined(OS_ANDROID) #include "third_party/WebKit/public/platform/android/WebSandboxSupport.h" @@ -49,7 +48,6 @@ class PpapiWebKitPlatformSupportImpl::SandboxSupport #elif defined(OS_MACOSX) virtual bool loadFont( NSFont* srcFont, CGFontRef* out, uint32_t* fontID); - virtual CGColorSpaceRef displayColorSpace(); #elif defined(OS_ANDROID) // Empty class. #elif defined(OS_POSIX) @@ -97,11 +95,6 @@ bool PpapiWebKitPlatformSupportImpl::SandboxSupport::loadFont( return false; } -CGColorSpaceRef -PpapiWebKitPlatformSupportImpl::SandboxSupport::displayColorSpace() { - return base::mac::GetSystemColorSpace(); -} - #elif defined(OS_ANDROID) // Empty class. |