Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Unified Diff: remoting/host/chromeos/aura_desktop_capturer.cc

Issue 639233002: Remote assistance on Chrome OS Part IV - It2MeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DEPS to remoting/host Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/chromeos/aura_desktop_capturer.cc
diff --git a/remoting/host/chromeos/aura_desktop_capturer.cc b/remoting/host/chromeos/aura_desktop_capturer.cc
index caf6837430d03df22dfc29824a13bc3bbc89ea1d..f6d85b4c59174e10feb67c3b5bcae562a2d60438 100644
--- a/remoting/host/chromeos/aura_desktop_capturer.cc
+++ b/remoting/host/chromeos/aura_desktop_capturer.cc
@@ -40,8 +40,8 @@ SkiaBitmapDesktopFrame* SkiaBitmapDesktopFrame::Create(
scoped_ptr<SkBitmap> bitmap) {
webrtc::DesktopSize size(bitmap->width(), bitmap->height());
- DCHECK_EQ(kRGBA_8888_SkColorType, bitmap->info().colorType())
rmsousa 2014/10/14 00:18:25 Out of curiosity: was this broken before? Are we t
kelvinp 2014/10/15 23:03:09 Yes, I created this file two weeks ago but it is n
- << "DesktopFrame objects always hold RGBA data.";
+ DCHECK_EQ(kBGRA_8888_SkColorType, bitmap->info().colorType())
+ << "DesktopFrame objects always hold BGRA data.";
Jamie 2014/10/14 01:18:41 There seem to be a couple of changes that flip the
kelvinp 2014/10/15 23:03:09 This is required otherwise the DCHECK will fail af
uint8_t* bitmap_data = reinterpret_cast<uint8_t*>(bitmap->getPixels());

Powered by Google App Engine
This is Rietveld 408576698