summaryrefslogtreecommitdiff
path: root/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx')
-rw-r--r--onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx b/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx
index c855e548efe0..2878aa2f0bb7 100644
--- a/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx
+++ b/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx
@@ -16,8 +16,6 @@
#define LOG(args...) __android_log_print(ANDROID_LOG_INFO, "GeckoUpdater" , ## args)
-using namespace std;
-
int InitProgressUI(int *argc, char ***argv)
{
return 0;
@@ -48,7 +46,7 @@ void UpdateProgressUI(float progress)
sLastNumBars = numBars;
size_t numSpaces = kProgressBarLength - numBars;
- string bars(numBars, '=');
- string spaces(numSpaces, ' ');
+ std::string bars(numBars, '=');
+ std::string spaces(numSpaces, ' ');
LOG("Progress [ %s%s ]\n", bars.c_str(), spaces.c_str());
}