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

Side by Side Diff: Source/core/platform/graphics/GraphicsContextAnnotation.cpp

Issue 16688004: Large canvas does not honor containing div's border radius (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replaced explicit baselines with NeedsRebaseline Created 7 years, 3 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) 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 case WebCore::PaintPhaseSelfOutline: 65 case WebCore::PaintPhaseSelfOutline:
66 return "SelfOutline"; 66 return "SelfOutline";
67 case WebCore::PaintPhaseSelection: 67 case WebCore::PaintPhaseSelection:
68 return "Selection"; 68 return "Selection";
69 case WebCore::PaintPhaseCollapsedTableBorders: 69 case WebCore::PaintPhaseCollapsedTableBorders:
70 return "CollapsedTableBorders"; 70 return "CollapsedTableBorders";
71 case WebCore::PaintPhaseTextClip: 71 case WebCore::PaintPhaseTextClip:
72 return "TextClip"; 72 return "TextClip";
73 case WebCore::PaintPhaseMask: 73 case WebCore::PaintPhaseMask:
74 return "Mask"; 74 return "Mask";
75 case WebCore::PaintPhaseClippingMask:
76 return "ClippingMask";
75 default: 77 default:
76 ASSERT_NOT_REACHED(); 78 ASSERT_NOT_REACHED();
77 return "<unknown>"; 79 return "<unknown>";
78 } 80 }
79 } 81 }
80 82
81 } 83 }
82 84
83 namespace WebCore { 85 namespace WebCore {
84 86
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 m_context->beginAnnotation(GraphicsContextAnnotation(paintInfo, object)); 152 m_context->beginAnnotation(GraphicsContextAnnotation(paintInfo, object));
151 } 153 }
152 154
153 void GraphicsContextAnnotator::finishAnnotation() 155 void GraphicsContextAnnotator::finishAnnotation()
154 { 156 {
155 ASSERT(m_context); 157 ASSERT(m_context);
156 m_context->endAnnotation(); 158 m_context->endAnnotation();
157 } 159 }
158 160
159 } 161 }
OLDNEW
« no previous file with comments | « LayoutTests/fast/borders/border-radius-mask-video-shadow.html ('k') | Source/core/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698