QV8Profiler: Rename the global static instance
authorAurindam Jana <aurindam.jana@nokia.com>
Thu, 10 Nov 2011 14:54:21 +0000 (15:54 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 11 Nov 2011 11:59:02 +0000 (12:59 +0100)
Change-Id: Iecd2856a36c7cf364f3d18288c2974a3bc29f91f
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
src/declarative/debugger/qv8profilerservice.cpp

index c3c65a5..c611366 100644 (file)
@@ -48,7 +48,7 @@
 
 QT_BEGIN_NAMESPACE
 
-Q_GLOBAL_STATIC(QV8ProfilerService, v8ServiceInstance)
+Q_GLOBAL_STATIC(QV8ProfilerService, v8ProfilerInstance)
 
 class ByteArrayOutputStream : public v8::OutputStream
 {
@@ -115,7 +115,7 @@ QV8ProfilerService::~QV8ProfilerService()
 
 QV8ProfilerService *QV8ProfilerService::instance()
 {
-    return v8ServiceInstance();
+    return v8ProfilerInstance();
 }
 
 void QV8ProfilerService::addEngine(QDeclarativeEngine *engine)