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

Unified Diff: src/core/SkPictureFlat.h

Issue 166193006: staticMethod -> StaticMethod (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 | « no previous file | src/pipe/SkGPipeWrite.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureFlat.h
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h
index 7973e65398188d720fd06db7fedcb25512a3a438..6b4af13840e855ad8119de03a9534f4628d24cec 100644
--- a/src/core/SkPictureFlat.h
+++ b/src/core/SkPictureFlat.h
@@ -265,7 +265,7 @@ public:
buffer.setTypefaceRecorder(controller->getTypefaceSet());
buffer.setNamedFactoryRecorder(controller->getNamedFactorySet());
- Traits::flatten(buffer, obj);
+ Traits::Flatten(buffer, obj);
size_t size = buffer.bytesWritten();
SkASSERT(SkIsAlign4(size));
@@ -294,7 +294,7 @@ public:
facePlayback->setupBuffer(buffer);
}
- Traits::unflatten(buffer, result);
+ Traits::Unflatten(buffer, result);
SkASSERT(fFlatSize == (int32_t)buffer.offset());
}
@@ -516,7 +516,7 @@ private:
// Layout of fScratch: [ SkFlatData header, 20 bytes ] [ data ..., 4-byte aligned ]
fScratch.reset();
fScratch.reserve(sizeof(SkFlatData));
- Traits::flatten(fScratch, element);
+ Traits::Flatten(fScratch, element);
const size_t dataSize = fScratch.bytesWritten() - sizeof(SkFlatData);
// Reinterpret data in fScratch as an SkFlatData.
@@ -562,10 +562,10 @@ private:
};
struct SkPaintTraits {
- static void flatten(SkWriteBuffer& buffer, const SkPaint& paint) {
+ static void Flatten(SkWriteBuffer& buffer, const SkPaint& paint) {
paint.flatten(buffer);
}
- static void unflatten(SkReadBuffer& buffer, SkPaint* paint) {
+ static void Unflatten(SkReadBuffer& buffer, SkPaint* paint) {
paint->unflatten(buffer);
}
};
« no previous file with comments | « no previous file | src/pipe/SkGPipeWrite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698