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

Unified Diff: cc/resources/raster_tile_priority_queue.cc

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 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/raster_tile_priority_queue.h ('k') | cc/resources/raster_tile_priority_queue_all.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_tile_priority_queue.cc
diff --git a/cc/resources/raster_tile_priority_queue.cc b/cc/resources/raster_tile_priority_queue.cc
deleted file mode 100644
index d53dc9d6ea4c868081dcd4150fd2306b4cd5b58c..0000000000000000000000000000000000000000
--- a/cc/resources/raster_tile_priority_queue.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "cc/resources/raster_tile_priority_queue.h"
-
-#include "cc/resources/raster_tile_priority_queue_all.h"
-#include "cc/resources/raster_tile_priority_queue_required.h"
-
-namespace cc {
-
-// static
-scoped_ptr<RasterTilePriorityQueue> RasterTilePriorityQueue::Create(
- const std::vector<PictureLayerImpl*>& active_layers,
- const std::vector<PictureLayerImpl*>& pending_layers,
- TreePriority tree_priority,
- Type type) {
- switch (type) {
- case Type::ALL: {
- scoped_ptr<RasterTilePriorityQueueAll> queue(
- new RasterTilePriorityQueueAll);
- queue->Build(active_layers, pending_layers, tree_priority);
- return queue.Pass();
- }
- case Type::REQUIRED_FOR_ACTIVATION:
- case Type::REQUIRED_FOR_DRAW: {
- scoped_ptr<RasterTilePriorityQueueRequired> queue(
- new RasterTilePriorityQueueRequired);
- queue->Build(active_layers, pending_layers, type);
- return queue.Pass();
- }
- }
- NOTREACHED();
- return nullptr;
-}
-
-} // namespace cc
« no previous file with comments | « cc/resources/raster_tile_priority_queue.h ('k') | cc/resources/raster_tile_priority_queue_all.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698