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

Unified Diff: include/private/SkRecords.h

Issue 1761793003: Revert of move annotations to canvas virtual (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « include/core/SkWriter32.h ('k') | include/utils/SkDumpCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/SkRecords.h
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h
index 1e274e9f46a2fc0275ed9f1510abedcc78c06295..ecd73a12d9b945a96b44a1550c36f0c8606ce5cd 100644
--- a/include/private/SkRecords.h
+++ b/include/private/SkRecords.h
@@ -8,7 +8,6 @@
#ifndef SkRecords_DEFINED
#define SkRecords_DEFINED
-#include "SkData.h"
#include "SkCanvas.h"
#include "SkDrawable.h"
#include "SkImageFilter.h"
@@ -18,7 +17,6 @@
#include "SkRect.h"
#include "SkRRect.h"
#include "SkRSXform.h"
-#include "SkString.h"
#include "SkTextBlob.h"
namespace SkRecords {
@@ -68,8 +66,7 @@
M(DrawRect) \
M(DrawTextBlob) \
M(DrawAtlas) \
- M(DrawVertices) \
- M(DrawAnnotation)
+ M(DrawVertices)
// Defines SkRecords::Type, an enum of all record types.
#define ENUM(T) T##_Type,
@@ -361,10 +358,7 @@
RefBox<SkXfermode> xmode;
PODArray<uint16_t> indices;
int indexCount);
-RECORD(DrawAnnotation, 0,
- SkRect rect;
- SkString key;
- RefBox<SkData> value);
+
#undef RECORD
} // namespace SkRecords
« no previous file with comments | « include/core/SkWriter32.h ('k') | include/utils/SkDumpCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698