| Index: Source/core/html/ImageDocument.cpp
|
| diff --git a/Source/core/html/ImageDocument.cpp b/Source/core/html/ImageDocument.cpp
|
| index 2413c2da116165f056c5e870d7bf49e334865067..33b8add669ce3d92f46dac86b60fb08f728438a5 100644
|
| --- a/Source/core/html/ImageDocument.cpp
|
| +++ b/Source/core/html/ImageDocument.cpp
|
| @@ -295,7 +295,7 @@ void ImageDocument::imageClicked(int x, int y)
|
| double scrollX = x / scale - static_cast<double>(frame()->view()->width()) / 2;
|
| double scrollY = y / scale - static_cast<double>(frame()->view()->height()) / 2;
|
|
|
| - frame()->view()->setScrollPosition(DoublePoint(scrollX, scrollY));
|
| + frame()->view()->setScrollPosition(DoublePoint(scrollX, scrollY), ProgrammaticScroll);
|
| }
|
| }
|
|
|
|
|