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

Side by Side Diff: Source/platform/graphics/GraphicsLayer.cpp

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "wtf/HashSet.h" 56 #include "wtf/HashSet.h"
57 #include "wtf/text/WTFString.h" 57 #include "wtf/text/WTFString.h"
58 #include <algorithm> 58 #include <algorithm>
59 59
60 #ifndef NDEBUG 60 #ifndef NDEBUG
61 #include <stdio.h> 61 #include <stdio.h>
62 #endif 62 #endif
63 63
64 namespace blink { 64 namespace blink {
65 65
66 typedef HashMap<const GraphicsLayer*, Vector<FloatRect> > RepaintMap; 66 typedef HashMap<const GraphicsLayer*, Vector<FloatRect>> RepaintMap;
67 static RepaintMap& repaintRectMap() 67 static RepaintMap& repaintRectMap()
68 { 68 {
69 DEFINE_STATIC_LOCAL(RepaintMap, map, ()); 69 DEFINE_STATIC_LOCAL(RepaintMap, map, ());
70 return map; 70 return map;
71 } 71 }
72 72
73 PassOwnPtr<GraphicsLayer> GraphicsLayer::create(GraphicsLayerFactory* factory, G raphicsLayerClient* client) 73 PassOwnPtr<GraphicsLayer> GraphicsLayer::create(GraphicsLayerFactory* factory, G raphicsLayerClient* client)
74 { 74 {
75 return factory->createGraphicsLayer(client); 75 return factory->createGraphicsLayer(client);
76 } 76 }
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 #ifndef NDEBUG 1112 #ifndef NDEBUG
1113 void showGraphicsLayerTree(const blink::GraphicsLayer* layer) 1113 void showGraphicsLayerTree(const blink::GraphicsLayer* layer)
1114 { 1114 {
1115 if (!layer) 1115 if (!layer)
1116 return; 1116 return;
1117 1117
1118 String output = layer->layerTreeAsText(blink::LayerTreeIncludesDebugInfo); 1118 String output = layer->layerTreeAsText(blink::LayerTreeIncludesDebugInfo);
1119 fprintf(stderr, "%s\n", output.utf8().data()); 1119 fprintf(stderr, "%s\n", output.utf8().data());
1120 } 1120 }
1121 #endif 1121 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsContextAnnotation.h ('k') | Source/platform/graphics/ImageDecodingStore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698