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

Unified Diff: cc/scheduler/draw_swap_readback_result.h

Issue 246753008: cc: Unify use of DidSwapBuffers() and did_request_swap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | cc/scheduler/scheduler.cc » ('j') | cc/scheduler/scheduler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/draw_swap_readback_result.h
diff --git a/cc/scheduler/draw_swap_readback_result.h b/cc/scheduler/draw_swap_readback_result.h
index 852b89720a0d006bc4c0247887ae9d15a778eb13..a35b4518f9339b37d43671edad2847c7be8e9543 100644
--- a/cc/scheduler/draw_swap_readback_result.h
+++ b/cc/scheduler/draw_swap_readback_result.h
@@ -19,18 +19,10 @@ struct DrawSwapReadbackResult {
};
DrawSwapReadbackResult()
brianderson 2014/04/24 01:54:15 Let's get rid of DrawSwapReadbackResult and just r
simonhong 2014/04/25 01:13:37 Done.
- : draw_result(INVALID_RESULT),
- did_request_swap(false),
- did_readback(false) {}
- DrawSwapReadbackResult(DrawResult draw_result,
- bool did_request_swap,
- bool did_readback)
- : draw_result(draw_result),
- did_request_swap(did_request_swap),
- did_readback(did_readback) {}
+ : draw_result(INVALID_RESULT) {}
+ explicit DrawSwapReadbackResult(DrawResult draw_result)
+ : draw_result(draw_result) {}
DrawResult draw_result;
- bool did_request_swap;
- bool did_readback;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | cc/scheduler/scheduler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698