diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-18 08:16:35 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-18 08:16:35 +0000 |
commit | e33706291432ea823c6749805e03e48781582083 (patch) | |
tree | 29ff0030280e2108f4f80dfd76984d79df628bac /ppapi/thunk/ppb_image_data_api.h | |
parent | ffadb717d9ab2138fde9dc238ad697449da4d75e (diff) | |
download | chromium_src-e33706291432ea823c6749805e03e48781582083.zip chromium_src-e33706291432ea823c6749805e03e48781582083.tar.gz chromium_src-e33706291432ea823c6749805e03e48781582083.tar.bz2 |
Ifdef out skia code that won't compile on nacl.
This #ifdefs out the Skia-specific code in the ImageData proxy when compiling
under NaCl. I did not actually write the code to replace it (which should be
quite simple) because we can't test it yet.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9355026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122687 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_image_data_api.h')
-rw-r--r-- | ppapi/thunk/ppb_image_data_api.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/thunk/ppb_image_data_api.h b/ppapi/thunk/ppb_image_data_api.h index b7a3e69..3ddea42 100644 --- a/ppapi/thunk/ppb_image_data_api.h +++ b/ppapi/thunk/ppb_image_data_api.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. @@ -26,7 +26,8 @@ class PPB_ImageData_API { // Trusted inteface. virtual int32_t GetSharedMemory(int* handle, uint32_t* byte_count) = 0; - // The canvas will be NULL if the image is not mapped. + // The canvas will be NULL if the image is not mapped and under Native + // Client (which does not have skia). virtual skia::PlatformCanvas* GetPlatformCanvas() = 0; }; |