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

Unified Diff: ash/wm/drag_window_controller.cc

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: nit Created 3 years, 6 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/benchmarks/rasterize_and_record_benchmark_impl.cc » ('j') | cc/raster/raster_source.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/drag_window_controller.cc
diff --git a/ash/wm/drag_window_controller.cc b/ash/wm/drag_window_controller.cc
index ea3f62df466004d782cf6b5c1644492b3b9e0258..ec4fd11289837fe9fd8c17a61cd131d99aa23673 100644
--- a/ash/wm/drag_window_controller.cc
+++ b/ash/wm/drag_window_controller.cc
@@ -232,7 +232,7 @@ const ui::LayerTreeOwner* DragWindowController::GetDragLayerOwnerForTest(
}
void DragWindowController::RequestLayerPaintForTest() {
- ui::PaintContext context(nullptr, 1.0f, gfx::Rect());
+ ui::PaintContext context(nullptr, 1.0f, gfx::Rect(), gfx::Size());
for (auto& details : drag_windows_) {
std::vector<ui::Layer*> layers;
layers.push_back(details->drag_window_->layer());
« no previous file with comments | « no previous file | cc/benchmarks/rasterize_and_record_benchmark_impl.cc » ('j') | cc/raster/raster_source.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698