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

Unified Diff: cc/paint/paint_surface.cc

Issue 2690583002: Make cc/paint have concrete types (Closed)
Patch Set: PaintRecord as typedef, fixup playback calls Created 3 years, 9 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/paint/paint_surface.h ('k') | content/child/browser_font_resource_trusted.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/paint_surface.cc
diff --git a/cc/paint/paint_surface.cc b/cc/paint/paint_surface.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a46220ebafd7e120d1e5ca42169e389c3dab58bf
--- /dev/null
+++ b/cc/paint/paint_surface.cc
@@ -0,0 +1,14 @@
+// Copyright 2017 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/paint/paint_surface.h"
+
+namespace cc {
+
+PaintSurface::PaintSurface(sk_sp<SkSurface> surface)
+ : surface_(std::move(surface)) {}
+
+PaintSurface::~PaintSurface() = default;
+
+} // namespace cc
« no previous file with comments | « cc/paint/paint_surface.h ('k') | content/child/browser_font_resource_trusted.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698