| Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| index 550ae97f7812703f3bfd86bc1fb93d68371313ce..9677abbd610d402ec29af3c4c2b47377664d46b9 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| @@ -42,6 +42,8 @@ void OffscreenCanvas::setHeight(unsigned height) {
|
| }
|
|
|
| void OffscreenCanvas::setSize(const IntSize& size) {
|
| + if (size == m_size)
|
| + return;
|
| if (m_context) {
|
| if (m_context->is3d()) {
|
| if (size != m_size)
|
| @@ -51,6 +53,9 @@ void OffscreenCanvas::setSize(const IntSize& size) {
|
| }
|
| }
|
| m_size = size;
|
| + if (m_frameDispatcher) {
|
| + m_frameDispatcher->reshape(width(), height());
|
| + }
|
| }
|
|
|
| void OffscreenCanvas::setNeutered() {
|
|
|