diff options
author | Yuqian Li <liyuqian@google.com> | 2017-09-26 15:36:26 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-26 20:02:16 +0000 |
commit | 58e23039bd4a8aee2c67fa6c9e5105b925d2e561 (patch) | |
tree | cd349e3ad3f8e2b6cdb16d17b482d117ca0b32a8 /samplecode | |
parent | 2481501dfe45a269031c065b21f821f1d608e795 (diff) |
Remove unused functions get_preferred_size
Bug: skia:
Change-Id: I6a5b5d96ad48b84b07d2e56fbabb870a90c62a97
Reviewed-on: https://skia-review.googlesource.com/51460
Reviewed-by: Yuqian Li <liyuqian@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'samplecode')
-rw-r--r-- | samplecode/SampleApp.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index b33377c395..dcca5a095e 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -2534,15 +2534,6 @@ SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv) { return new SampleWindow(hwnd, argc, argv, nullptr); } -// FIXME: this should be in a header -void get_preferred_size(int* x, int* y, int* width, int* height); -void get_preferred_size(int* x, int* y, int* width, int* height) { - *x = 10; - *y = 50; - *width = 640; - *height = 480; -} - #ifdef SK_BUILD_FOR_IOS #include "SkApplication.h" IOS_launch_type set_cmd_line_args(int , char *[], const char* resourceDir) { |