| Index: third_party/WebKit/Source/web/DragClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/DragClientImpl.cpp b/third_party/WebKit/Source/web/DragClientImpl.cpp
|
| index bf8f6625cec33d96c28caf72f88b93766706897a..d7b79796b088a0056a340dcc1598120a8f6cfd35 100644
|
| --- a/third_party/WebKit/Source/web/DragClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/DragClientImpl.cpp
|
| @@ -72,7 +72,7 @@ void DragClientImpl::startDrag(DragImage* dragImage, const IntPoint& dragImageOr
|
| float deviceScaleFactor =
|
| m_webView->client()->screenInfo().deviceScaleFactor;
|
| if (deviceScaleFactor != resolutionScale) {
|
| - ASSERT(resolutionScale > 0);
|
| + DCHECK_GT(resolutionScale, 0);
|
| float scale = deviceScaleFactor / resolutionScale;
|
| dragImage->scale(scale, scale);
|
| }
|
|
|