Index: ui/compositor/paint_recorder.cc |
diff --git a/ui/compositor/paint_recorder.cc b/ui/compositor/paint_recorder.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..538db4b9bbd69c884d713558edab37cadac54022 |
--- /dev/null |
+++ b/ui/compositor/paint_recorder.cc |
@@ -0,0 +1,18 @@ |
+// 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 "ui/compositor/paint_recorder.h" |
+ |
+#include "ui/compositor/paint_context.h" |
+ |
+namespace ui { |
+ |
+PaintRecorder::PaintRecorder(const PaintContext& context) |
+ : canvas_(context.canvas()) { |
+} |
+ |
+PaintRecorder::~PaintRecorder() { |
+} |
+ |
+} // namespace ui |