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

Unified Diff: cc/blimp/picture_data.cc

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from vmpstr, including adding //cc/blimp Created 4 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 | « cc/blimp/picture_data.h ('k') | cc/blimp/picture_data_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/picture_data.cc
diff --git a/cc/blimp/picture_data.cc b/cc/blimp/picture_data.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a7827f28320ba0e50392b9988a4d20264bc55279
--- /dev/null
+++ b/cc/blimp/picture_data.cc
@@ -0,0 +1,16 @@
+// Copyright 2016 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/blimp/picture_data.h"
+
+namespace cc {
+
+PictureData::PictureData(uint32_t unique_id, sk_sp<SkData> data)
+ : unique_id(unique_id), data(data) {}
+
+PictureData::PictureData(const PictureData& other) = default;
+
+PictureData::~PictureData() = default;
+
+} // namespace cc
« no previous file with comments | « cc/blimp/picture_data.h ('k') | cc/blimp/picture_data_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698