Fix linux compiler error with the debugger app.

Review URL: https://codereview.appspot.com/6848045

git-svn-id: http://skia.googlecode.com/svn/trunk@6398 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp
index ef970f4..f61371b 100644
--- a/debugger/QT/SkDebuggerGUI.cpp
+++ b/debugger/QT/SkDebuggerGUI.cpp
@@ -224,7 +224,7 @@
     if (!filename.endsWith(".skp", Qt::CaseInsensitive)) {
         filename.append(".skp");
     }
-    saveToFile(SkString(filename.toAscii()));
+    saveToFile(SkString(filename.toAscii().data()));
 }
 
 void SkDebuggerGUI::actionScale(float scaleFactor) {
@@ -281,7 +281,7 @@
     if (!temp.isEmpty()) {
         QFileInfo pathInfo(temp);
         fPath = pathInfo.path();
-        loadPicture(SkString(temp.toAscii()));
+        loadPicture(SkString(temp.toAscii().data()));
         setupDirectoryWidget();
     }
     fDirectoryWidgetActive = true;