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

Unified Diff: remoting/host/video_frame_capturer_linux.cc

Issue 10796072: [Chromoting] Tidy up SkISize initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo. Created 8 years, 5 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
« no previous file with comments | « remoting/host/video_frame_capturer_fake.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/video_frame_capturer_linux.cc
diff --git a/remoting/host/video_frame_capturer_linux.cc b/remoting/host/video_frame_capturer_linux.cc
index 0bcbb4c51cc850e2476a4e7fbac39c168d2dc288..3f4ea939a7e349c99ee5e3a24267a9d849ff0e9f 100644
--- a/remoting/host/video_frame_capturer_linux.cc
+++ b/remoting/host/video_frame_capturer_linux.cc
@@ -37,8 +37,10 @@ static bool ShouldUseXDamage() {
// A class representing a full-frame pixel buffer
class VideoFrameBuffer {
public:
- VideoFrameBuffer() : bytes_per_row_(0), needs_update_(true) {
- size_.set(0, 0);
+ VideoFrameBuffer()
+ : size_(SkISize::Make(0, 0)),
+ bytes_per_row_(0),
+ needs_update_(true) {
}
void Update(Display* display, Window root_window) {
« no previous file with comments | « remoting/host/video_frame_capturer_fake.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698