| OLD | NEW | 
|   1  |   1  | 
|   2 /* |   2 /* | 
|   3  * Copyright 2016 Google Inc. |   3  * Copyright 2016 Google Inc. | 
|   4  * |   4  * | 
|   5  * Use of this source code is governed by a BSD-style license that can be |   5  * Use of this source code is governed by a BSD-style license that can be | 
|   6  * found in the LICENSE file. |   6  * found in the LICENSE file. | 
|   7  */ |   7  */ | 
|   8  |   8  | 
|   9 #ifndef SKRASTERWIDGET_H_ |   9 #ifndef SKRASTERWIDGET_H_ | 
|  10 #define SKRASTERWIDGET_H_ |  10 #define SKRASTERWIDGET_H_ | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
|  25 Q_SIGNALS: |  25 Q_SIGNALS: | 
|  26     void drawComplete(); |  26     void drawComplete(); | 
|  27  |  27  | 
|  28 protected: |  28 protected: | 
|  29     void paintEvent(QPaintEvent* event); |  29     void paintEvent(QPaintEvent* event); | 
|  30  |  30  | 
|  31     void resizeEvent(QResizeEvent* event); |  31     void resizeEvent(QResizeEvent* event); | 
|  32  |  32  | 
|  33 private: |  33 private: | 
|  34     SkDebugger* fDebugger; |  34     SkDebugger* fDebugger; | 
|  35     SkAutoTUnref<SkSurface> fSurface; |  35     sk_sp<SkSurface> fSurface; | 
|  36     bool fNeedImageUpdate; |  36     bool fNeedImageUpdate; | 
|  37 }; |  37 }; | 
|  38  |  38  | 
|  39 #endif /* SKRASTERWIDGET_H_ */ |  39 #endif /* SKRASTERWIDGET_H_ */ | 
| OLD | NEW |