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

Unified Diff: debugger/QT/SkCanvasWidget.cpp

Issue 1753813002: Unbust the old debugger (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « debugger/QT/SkCanvasWidget.h ('k') | debugger/QT/SkDebuggerGUI.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/QT/SkCanvasWidget.cpp
diff --git a/debugger/QT/SkCanvasWidget.cpp b/debugger/QT/SkCanvasWidget.cpp
index 49b15265313dee190e20dce1ef00b026444cacd9..03ba33ac5f5aabab5ea4f6811634f21c3efe5f7a 100644
--- a/debugger/QT/SkCanvasWidget.cpp
+++ b/debugger/QT/SkCanvasWidget.cpp
@@ -55,7 +55,7 @@ void SkCanvasWidget::drawTo(int index) {
#if SK_SUPPORT_GPU
fGLWidget.updateImage();
#endif
- emit commandChanged(fDebugger->index());
+ Q_EMIT commandChanged(fDebugger->index());
}
void SkCanvasWidget::mouseMoveEvent(QMouseEvent* event) {
@@ -69,7 +69,7 @@ void SkCanvasWidget::mouseMoveEvent(QMouseEvent* event) {
void SkCanvasWidget::mousePressEvent(QMouseEvent* event) {
fPreviousPoint.set(event->globalX(), event->globalY());
- emit hitChanged(fDebugger->getCommandAtPoint(event->x(), event->y(),
+ Q_EMIT hitChanged(fDebugger->getCommandAtPoint(event->x(), event->y(),
fDebugger->index()));
}
@@ -117,7 +117,7 @@ void SkCanvasWidget::snapWidgetTransform() {
void SkCanvasWidget::resetWidgetTransform() {
fUserMatrix.reset();
fDebugger->setUserMatrix(fUserMatrix);
- emit scaleFactorChanged(fUserMatrix.getScaleX());
+ Q_EMIT scaleFactorChanged(fUserMatrix.getScaleX());
drawTo(fDebugger->index());
}
@@ -141,7 +141,7 @@ void SkCanvasWidget::setGLSampleCount(int sampleCount)
void SkCanvasWidget::zoom(float scale, int px, int py) {
fUserMatrix.postScale(scale, scale, px, py);
- emit scaleFactorChanged(fUserMatrix.getScaleX());
+ Q_EMIT scaleFactorChanged(fUserMatrix.getScaleX());
fDebugger->setUserMatrix(fUserMatrix);
drawTo(fDebugger->index());
}
« no previous file with comments | « debugger/QT/SkCanvasWidget.h ('k') | debugger/QT/SkDebuggerGUI.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698