Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
index 2722d3513186a0d3dd4929e710162d7d5e62961f..5301d38c80b037c1df9cc3fd714e05cf01ac4593 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
@@ -47,7 +47,6 @@ |
#include "core/fetch/ImageResource.h" |
#include "core/frame/ImageBitmap.h" |
#include "core/frame/Settings.h" |
-#include "core/frame/UseCounter.h" |
#include "core/html/HTMLCanvasElement.h" |
#include "core/html/HTMLImageElement.h" |
#include "core/html/HTMLMediaElement.h" |
@@ -766,9 +765,6 @@ void CanvasRenderingContext2D::setGlobalCompositeOperation(const String& operati |
WebBlendMode blendMode = WebBlendModeNormal; |
if (!parseCompositeAndBlendOperator(operation, op, blendMode)) |
return; |
- // crbug.com/425628: Count the use of "darker" to remove it. |
- if (op == CompositePlusDarker) |
- UseCounter::count(canvas()->document(), UseCounter::CanvasRenderingContext2DCompositeOperationDarker); |
if ((state().m_globalComposite == op) && (state().m_globalBlend == blendMode)) |
return; |
GraphicsContext* c = drawingContext(); |