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

Unified Diff: remoting/host/capturer_fake_ascii.cc

Issue 7622002: Revert 96327 - Switch over to using SkRegions to calculate dirty areas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/capturer_fake_ascii.h ('k') | remoting/host/capturer_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capturer_fake_ascii.cc
===================================================================
--- remoting/host/capturer_fake_ascii.cc (revision 96327)
+++ remoting/host/capturer_fake_ascii.cc (working copy)
@@ -37,23 +37,23 @@
return pixel_format_;
}
-void CapturerFakeAscii::ClearInvalidRegion() {
- helper_.ClearInvalidRegion();
+void CapturerFakeAscii::ClearInvalidRects() {
+ helper.ClearInvalidRects();
}
-void CapturerFakeAscii::InvalidateRegion(const SkRegion& invalid_region) {
- helper_.InvalidateRegion(invalid_region);
+void CapturerFakeAscii::InvalidateRects(const InvalidRects& inval_rects) {
+ helper.InvalidateRects(inval_rects);
}
void CapturerFakeAscii::InvalidateScreen(const gfx::Size& size) {
- helper_.InvalidateScreen(size);
+ helper.InvalidateScreen(size);
}
void CapturerFakeAscii::InvalidateFullScreen() {
- helper_.InvalidateFullScreen();
+ helper.InvalidateFullScreen();
}
-void CapturerFakeAscii::CaptureInvalidRegion(
+void CapturerFakeAscii::CaptureInvalidRects(
CaptureCompletedCallback* callback) {
scoped_ptr<CaptureCompletedCallback> callback_deleter(callback);
@@ -65,13 +65,13 @@
scoped_refptr<CaptureData> capture_data(new CaptureData(
planes, gfx::Size(width_, height_), pixel_format_));
- helper_.set_size_most_recent(capture_data->size());
+ helper.set_size_most_recent(capture_data->size());
callback->Run(capture_data);
}
const gfx::Size& CapturerFakeAscii::size_most_recent() const {
- return helper_.size_most_recent();
+ return helper.size_most_recent();
}
void CapturerFakeAscii::GenerateImage() {
« no previous file with comments | « remoting/host/capturer_fake_ascii.h ('k') | remoting/host/capturer_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698