| Index: src/views/win/SkOSWindow_win.cpp
|
| diff --git a/src/views/win/SkOSWindow_win.cpp b/src/views/win/SkOSWindow_win.cpp
|
| index 7549ea21da197ab7dfeeabc713f89c12544d4021..e91d73a292aa6a2f8beb919357ecc0be24acf2fc 100644
|
| --- a/src/views/win/SkOSWindow_win.cpp
|
| +++ b/src/views/win/SkOSWindow_win.cpp
|
| @@ -361,7 +361,9 @@ bool SkOSWindow::attachGL(int msaaSampleCount, AttachmentInfo* info) {
|
| info->fSampleCount = 0;
|
| }
|
|
|
| - glViewport(0, 0, SkScalarRound(this->width()), SkScalarRound(this->height()));
|
| + glViewport(0, 0,
|
| + SkScalarRoundToInt(this->width()),
|
| + SkScalarRoundToInt(this->height()));
|
| return true;
|
| }
|
| return false;
|
| @@ -500,8 +502,9 @@ bool SkOSWindow::attachANGLE(int msaaSampleCount, AttachmentInfo* info) {
|
| SkAutoTUnref<const GrGLInterface> intf(GrGLCreateANGLEInterface());
|
|
|
| if (intf ) {
|
| - ANGLE_GL_CALL(intf, Viewport(0, 0, SkScalarRound(this->width()),
|
| - SkScalarRound(this->height())));
|
| + ANGLE_GL_CALL(intf, Viewport(0, 0,
|
| + SkScalarRoundToInt(this->width()),
|
| + SkScalarRoundToInt(this->height())));
|
| }
|
| return true;
|
| }
|
|
|