diff options
Diffstat (limited to 'tools/viewer/Viewer.cpp')
-rw-r--r-- | tools/viewer/Viewer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp index 2108b09cb5..919fac00cf 100644 --- a/tools/viewer/Viewer.cpp +++ b/tools/viewer/Viewer.cpp @@ -1564,7 +1564,7 @@ void Viewer::updateUIState() { state.append(softkeyState); state.append(fpsState); - fWindow->setUIState(state); + fWindow->setUIState(state.toStyledString().c_str()); } void Viewer::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { |