summaryrefslogtreecommitdiffstats
path: root/content/browser/frame_host/render_widget_host_view_guest.cc
diff options
context:
space:
mode:
authorsiva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-20 10:55:08 +0000
committersiva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-20 10:55:08 +0000
commit739f56c7bf03a4676733dbaa784f2c50034f1549 (patch)
tree788a7ff46940d9f8db8d3280e043e6d0a443239a /content/browser/frame_host/render_widget_host_view_guest.cc
parent1f172cbb1bfa19f1f2acaf976f59202289f3edc8 (diff)
downloadchromium_src-739f56c7bf03a4676733dbaa784f2c50034f1549.zip
chromium_src-739f56c7bf03a4676733dbaa784f2c50034f1549.tar.gz
chromium_src-739f56c7bf03a4676733dbaa784f2c50034f1549.tar.bz2
content_gl_tests were failing because, we are checking for rgb565 platform support
on hardware and failing intentionally, which was not correct, the test should be skiped instead. This patch takes care of that along with the base patch. On Aura with Nvidiea drivers the support is not there, so the test fails previously now weare skipping it by displaying the reason. Android the support gets passed. BUG=323150 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245772 Review URL: https://codereview.chromium.org/133363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/frame_host/render_widget_host_view_guest.cc')
-rw-r--r--content/browser/frame_host/render_widget_host_view_guest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/frame_host/render_widget_host_view_guest.cc b/content/browser/frame_host/render_widget_host_view_guest.cc
index d841a19..ed1af63 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.cc
+++ b/content/browser/frame_host/render_widget_host_view_guest.cc
@@ -334,7 +334,8 @@ void RenderWidgetHostViewGuest::SelectionBoundsChanged(
void RenderWidgetHostViewGuest::CopyFromCompositingSurface(
const gfx::Rect& src_subrect,
const gfx::Size& dst_size,
- const base::Callback<void(bool, const SkBitmap&)>& callback) {
+ const base::Callback<void(bool, const SkBitmap&)>& callback,
+ bool readback_config_rgb565) {
CHECK(guest_);
guest_->CopyFromCompositingSurface(src_subrect, dst_size, callback);
}