Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.52 KB | None | 0 0
  1. Index: source/scriptinterface/ScriptInterface.cpp
  2. ===================================================================
  3. --- source/scriptinterface/ScriptInterface.cpp  (revision 18439)
  4. +++ source/scriptinterface/ScriptInterface.cpp  (working copy)
  5. @@ -286,11 +286,11 @@ bool ProfileAttribute(JSContext* cx, uin
  6.         > StringFlyweight;
  7.  
  8.         name = StringFlyweight(str).get().c_str();
  9.     }
  10.  
  11. -   g_Profiler2.RecordAttribute(name);
  12. +   g_Profiler2.RecordAttribute("%s", name);
  13.  
  14.     args.rval().setUndefined();
  15.     return true;
  16.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement