Index: third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h |
index 3cbd7fa132854abaa6bbb26fa7a185e12dc7fee5..6dfca71e92fb2ea2b049517cf789a6e9f63c4468 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h |
@@ -19,7 +19,7 @@ class PLATFORM_EXPORT BeginScrollDisplayItem final |
const IntSize& current_offset) |
: PairedBeginDisplayItem(client, type, sizeof(*this)), |
current_offset_(current_offset) { |
- ASSERT(IsScrollType(type)); |
+ DCHECK(IsScrollType(type)); |
} |
void Replay(GraphicsContext&) const override; |
@@ -45,7 +45,7 @@ class PLATFORM_EXPORT EndScrollDisplayItem final : public PairedEndDisplayItem { |
public: |
EndScrollDisplayItem(const DisplayItemClient& client, Type type) |
: PairedEndDisplayItem(client, type, sizeof(*this)) { |
- ASSERT(IsEndScrollType(type)); |
+ DCHECK(IsEndScrollType(type)); |
} |
void Replay(GraphicsContext&) const override; |