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

Unified Diff: remoting/host/differ.cc

Issue 7511014: Define Chromoting's differ block size in one (and only one) place. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update copyright 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/differ.h ('k') | remoting/host/differ_block.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/differ.cc
diff --git a/remoting/host/differ.cc b/remoting/host/differ.cc
index 397bd4363350a86eadc3ab9c061091a4cab04071..d5e618a80d25314b41ef45b3793eae40de439a7f 100644
--- a/remoting/host/differ.cc
+++ b/remoting/host/differ.cc
@@ -105,7 +105,7 @@ void Differ::MarkDirtyBlocks(const void* prev_buffer, const void* curr_buffer) {
for (int x = 0; x < x_full_blocks; x++) {
*diff_info = DiffPartialBlock(prev_block, curr_block,
bytes_per_row_,
- kBlockWidth, partial_row_height);
+ kBlockSize, partial_row_height);
prev_block += block_x_offset;
curr_block += block_x_offset;
diff_info += sizeof(DiffInfo);
« no previous file with comments | « remoting/host/differ.h ('k') | remoting/host/differ_block.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698