| Index: Source/core/page/ChromeClient.cpp
|
| diff --git a/Source/core/page/ChromeClient.cpp b/Source/core/page/ChromeClient.cpp
|
| index 6498e76d8b4ca1a979e103e8ff0cfc8ac66debed..10d7c35eb44a3b78a3075efa0093b2aadad57dbd 100644
|
| --- a/Source/core/page/ChromeClient.cpp
|
| +++ b/Source/core/page/ChromeClient.cpp
|
| @@ -43,7 +43,7 @@
|
|
|
| namespace blink {
|
|
|
| -void ChromeClient::setWindowRect(const IntRect& pendingRect)
|
| +void ChromeClient::setWindowRectWithAdjustment(const IntRect& pendingRect)
|
| {
|
| IntRect screen = screenInfo().availableRect;
|
| IntRect window = pendingRect;
|
| @@ -58,7 +58,7 @@ void ChromeClient::setWindowRect(const IntRect& pendingRect)
|
| // Constrain the window position within the valid screen area.
|
| window.setX(std::max(screen.x(), std::min(window.x(), screen.maxX() - window.width())));
|
| window.setY(std::max(screen.y(), std::min(window.y(), screen.maxY() - window.height())));
|
| - setWindowRectInternal(window);
|
| + setWindowRect(window);
|
| }
|
|
|
| bool ChromeClient::canRunModalIfDuringPageDismissal(Frame* mainFrame, ChromeClient::DialogType dialog, const String& message)
|
|
|