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

Unified Diff: Source/platform/graphics/PictureSnapshot.cpp

Issue 1022123002: Fix template angle bracket syntax leftovers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove Body.cpp change Created 5 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 | « Source/platform/graphics/PictureSnapshot.h ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/PictureSnapshot.cpp
diff --git a/Source/platform/graphics/PictureSnapshot.cpp b/Source/platform/graphics/PictureSnapshot.cpp
index c5ed2bb603fa085bbdcc1b80ddb9e5b1ea14fc08..44e928cc67af45fdaddf03bf2b9a95da0abfa9bf 100644
--- a/Source/platform/graphics/PictureSnapshot.cpp
+++ b/Source/platform/graphics/PictureSnapshot.cpp
@@ -67,10 +67,10 @@ static bool decodeBitmap(const void* data, size_t length, SkBitmap* result)
return true;
}
-PassRefPtr<PictureSnapshot> PictureSnapshot::load(const Vector<RefPtr<TilePictureStream> >& tiles)
+PassRefPtr<PictureSnapshot> PictureSnapshot::load(const Vector<RefPtr<TilePictureStream>>& tiles)
{
ASSERT(!tiles.isEmpty());
- Vector<RefPtr<SkPicture> > pictures;
+ Vector<RefPtr<SkPicture>> pictures;
pictures.reserveCapacity(tiles.size());
FloatRect unionRect;
for (const auto& tileStream : tiles) {
@@ -96,7 +96,7 @@ PassRefPtr<PictureSnapshot> PictureSnapshot::load(const Vector<RefPtr<TilePictur
return adoptRef(new PictureSnapshot(adoptRef(recorder.endRecordingAsPicture())));
}
-PassOwnPtr<Vector<char> > PictureSnapshot::replay(unsigned fromStep, unsigned toStep, double scale) const
+PassOwnPtr<Vector<char>> PictureSnapshot::replay(unsigned fromStep, unsigned toStep, double scale) const
{
const SkIRect bounds = m_picture->cullRect().roundOut();
SkBitmap bitmap;
@@ -108,7 +108,7 @@ PassOwnPtr<Vector<char> > PictureSnapshot::replay(unsigned fromStep, unsigned to
canvas.resetStepCount();
m_picture->playback(&canvas, &canvas);
}
- OwnPtr<Vector<char> > base64Data = adoptPtr(new Vector<char>());
+ OwnPtr<Vector<char>> base64Data = adoptPtr(new Vector<char>());
Vector<char> encodedImage;
if (!PNGImageEncoder::encode(bitmap, reinterpret_cast<Vector<unsigned char>*>(&encodedImage)))
return nullptr;
« no previous file with comments | « Source/platform/graphics/PictureSnapshot.h ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698