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

Unified Diff: ash/wm/drag_window_controller.cc

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: nits 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') | ui/compositor/paint_context.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 1c46257170774fa4c59030a0c952ed78efb5831d..d87e40498aec6ba62ce59efb8845a601175044db 100644
--- a/ash/wm/drag_window_controller.cc
+++ b/ash/wm/drag_window_controller.cc
@@ -234,7 +234,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') | ui/compositor/paint_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698