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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp

Issue 1497683002: Make platform/graphics to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "third_party/skia/include/core/SkRect.h" 44 #include "third_party/skia/include/core/SkRect.h"
45 #include "wtf/HexNumber.h" 45 #include "wtf/HexNumber.h"
46 #include "wtf/text/Base64.h" 46 #include "wtf/text/Base64.h"
47 #include "wtf/text/TextEncoding.h" 47 #include "wtf/text/TextEncoding.h"
48 48
49 namespace blink { 49 namespace blink {
50 50
51 namespace { 51 namespace {
52 52
53 struct VerbParams { 53 struct VerbParams {
54 STACK_ALLOCATED();
54 String name; 55 String name;
55 unsigned pointCount; 56 unsigned pointCount;
56 unsigned pointOffset; 57 unsigned pointOffset;
57 58
58 VerbParams(const String& name, unsigned pointCount, unsigned pointOffset) 59 VerbParams(const String& name, unsigned pointCount, unsigned pointOffset)
59 : name(name) 60 : name(name)
60 , pointCount(pointCount) 61 , pointCount(pointCount)
61 , pointOffset(pointOffset) { } 62 , pointOffset(pointOffset) { }
62 }; 63 };
63 64
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 return pictureAsJSON->toPrettyJSONString(); 874 return pictureAsJSON->toPrettyJSONString();
874 } 875 }
875 876
876 void showSkPicture(const SkPicture* picture) 877 void showSkPicture(const SkPicture* picture)
877 { 878 {
878 WTFLogAlways("%s\n", pictureAsDebugString(picture).utf8().data()); 879 WTFLogAlways("%s\n", pictureAsDebugString(picture).utf8().data());
879 } 880 }
880 #endif 881 #endif
881 882
882 } // namespace blink 883 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698