Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: tools/viewer/sk_app/android/RasterWindowContext_android.cpp

Issue 2182273002: SW backend for viewer on Windows (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/viewer/sk_app/WindowContext.h ('k') | tools/viewer/sk_app/unix/RasterWindowContext_unix.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/sk_app/android/RasterWindowContext_android.cpp
diff --git a/tools/viewer/sk_app/android/RasterWindowContext_android.cpp b/tools/viewer/sk_app/android/RasterWindowContext_android.cpp
index ae49405f2940e59721bad9e9dafeda47279225ed..7077e2cfee2109895c499a7959b9d6e3bb8d648e 100644
--- a/tools/viewer/sk_app/android/RasterWindowContext_android.cpp
+++ b/tools/viewer/sk_app/android/RasterWindowContext_android.cpp
@@ -23,7 +23,7 @@ public:
void swapBuffers() override;
bool isValid() override { return SkToBool(fNativeWindow); }
- void resize(uint32_t w, uint32_t h) override;
+ void resize(int w, int h) override;
void setDisplayParams(const DisplayParams& params) override;
private:
@@ -63,7 +63,7 @@ void RasterWindowContext_android::setDisplayParams(const DisplayParams& params)
this->setBuffersGeometry();
}
-void RasterWindowContext_android::resize(uint32_t w, uint32_t h) {
+void RasterWindowContext_android::resize(int w, int h) {
fWidth = w;
fHeight = h;
this->setBuffersGeometry();
« no previous file with comments | « tools/viewer/sk_app/WindowContext.h ('k') | tools/viewer/sk_app/unix/RasterWindowContext_unix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698