summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/test_shell/mock_webclipboard_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/mock_webclipboard_impl.cc b/webkit/tools/test_shell/mock_webclipboard_impl.cc
index 72fd0c7..1d68c6f 100644
--- a/webkit/tools/test_shell/mock_webclipboard_impl.cc
+++ b/webkit/tools/test_shell/mock_webclipboard_impl.cc
@@ -91,10 +91,11 @@ WebKit::WebData MockWebClipboardImpl::readImage(
CGImageRef image = m_image.getCGImageRef();
CFDataRef image_data_ref =
CGDataProviderCopyData(CGImageGetDataProvider(image));
- webkit_support::EncodeRGBAPNG(CFDataGetBytePtr(image_data_ref),
+ webkit_support::EncodeBGRAPNG(CFDataGetBytePtr(image_data_ref),
CGImageGetWidth(image),
CGImageGetHeight(image),
CGImageGetBytesPerRow(image),
+ false,
&encoded_image);
CFRelease(image_data_ref);
#endif