diff options
author | sehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-11 19:19:13 +0000 |
---|---|---|
committer | sehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-11 19:19:13 +0000 |
commit | a74eb25bab32dd190b4c925cdf27ffa1fca2b37a (patch) | |
tree | cccb8088b1300beeb2ae32b4b2d66583409da874 /webkit/tools/pepper_test_plugin | |
parent | 0d8d68a20710150191742373bad22e439b942f39 (diff) | |
download | chromium_src-a74eb25bab32dd190b4c925cdf27ffa1fca2b37a.zip chromium_src-a74eb25bab32dd190b4c925cdf27ffa1fca2b37a.tar.gz chromium_src-a74eb25bab32dd190b4c925cdf27ffa1fca2b37a.tar.bz2 |
The union and first level nested struct were vestiges of the previous
device context design. Remove them and shorten the paths to 2D members.
Also add "reserved" void* to allow quick access to implementation data.
Review URL: http://codereview.chromium.org/490009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/pepper_test_plugin')
-rw-r--r-- | webkit/tools/pepper_test_plugin/plugin_object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/pepper_test_plugin/plugin_object.cc b/webkit/tools/pepper_test_plugin/plugin_object.cc index 5b001da..d7eaa09 100644 --- a/webkit/tools/pepper_test_plugin/plugin_object.cc +++ b/webkit/tools/pepper_test_plugin/plugin_object.cc @@ -276,7 +276,7 @@ void PluginObject::SetWindow(const NPWindow& window) { SkBitmap bitmap; bitmap.setConfig(SkBitmap::kARGB_8888_Config, window.width, window.height); - bitmap.setPixels(context.u.graphicsRgba.region); + bitmap.setPixels(context.region); SkCanvas canvas(bitmap); DrawSampleBitmap(canvas, window.width, window.height); |