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

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

Issue 1008043002: [S.P.] Don't draw frames of animated images that are offscreen. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "platform/graphics/PaintInvalidationReason.h" 6 #include "platform/graphics/PaintInvalidationReason.h"
7 7
8 #include "wtf/Assertions.h" 8 #include "wtf/Assertions.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 28 matching lines...) Expand all
39 case PaintInvalidationScroll: 39 case PaintInvalidationScroll:
40 return "scroll"; 40 return "scroll";
41 case PaintInvalidationSelection: 41 case PaintInvalidationSelection:
42 return "selection"; 42 return "selection";
43 case PaintInvalidationLayer: 43 case PaintInvalidationLayer:
44 return "layer"; 44 return "layer";
45 case PaintInvalidationRendererInsertion: 45 case PaintInvalidationRendererInsertion:
46 return "renderer insertion"; 46 return "renderer insertion";
47 case PaintInvalidationRendererRemoval: 47 case PaintInvalidationRendererRemoval:
48 return "renderer removal"; 48 return "renderer removal";
49 case PaintInvalidationDelayedFull:
50 return "delayed full";
49 } 51 }
50 ASSERT_NOT_REACHED(); 52 ASSERT_NOT_REACHED();
51 return ""; 53 return "";
52 } 54 }
53 55
54 } 56 }
OLDNEW
« Source/core/layout/LayoutObject.cpp ('K') | « Source/platform/graphics/PaintInvalidationReason.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698