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

Unified Diff: cc/resources/rasterizer.cc

Issue 569733002: cc: Remove cc:RasterRequiredForActivation synthetic delays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: post-increment to pre-increment Created 6 years, 3 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 | « cc/resources/rasterizer.h ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/rasterizer.cc
diff --git a/cc/resources/rasterizer.cc b/cc/resources/rasterizer.cc
index df7e27ecebcc147cb745db354527c4804d794934..a1dbffcbf6a1a2f253f2ba243b7f72c5e83f1017 100644
--- a/cc/resources/rasterizer.cc
+++ b/cc/resources/rasterizer.cc
@@ -61,18 +61,16 @@ RasterTaskQueue::Item::Item(RasterTask* task, bool required_for_activation)
RasterTaskQueue::Item::~Item() {}
-RasterTaskQueue::RasterTaskQueue() : required_for_activation_count(0u) {}
+RasterTaskQueue::RasterTaskQueue() {
+}
RasterTaskQueue::~RasterTaskQueue() {}
void RasterTaskQueue::Swap(RasterTaskQueue* other) {
items.swap(other->items);
- std::swap(required_for_activation_count,
- other->required_for_activation_count);
}
void RasterTaskQueue::Reset() {
- required_for_activation_count = 0u;
items.clear();
}
« no previous file with comments | « cc/resources/rasterizer.h ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698