samplecode: Avoid temporary variables of SkString type.

Just like most of the other samples, just pass the name of the sample directly.

R=epoger@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@5743 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SamplePatch.cpp b/samplecode/SamplePatch.cpp
index a58999a..90aaf4c 100644
--- a/samplecode/SamplePatch.cpp
+++ b/samplecode/SamplePatch.cpp
@@ -259,10 +259,8 @@
 protected:
     // overrides from SkEventSink
     virtual bool onQuery(SkEvent* evt)  {
-        if (SampleCode::TitleQ(*evt))
-        {
-            SkString str("Patch");
-            SampleCode::TitleR(evt, str.c_str());
+        if (SampleCode::TitleQ(*evt)) {
+            SampleCode::TitleR(evt, "Patch");
             return true;
         }
         return this->INHERITED::onQuery(evt);