summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/benchmark
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-12-20 16:21:35 +0000
committerSteve Block <steveblock@google.com>2012-01-03 22:38:06 +0000
commita09e7cf49f43950a799f936bf42a9912d696547b (patch)
tree108947d0cc5707c152e6818fc81998c71a944524 /Source/WebKit/android/benchmark
parentcd962bb91932eb0f0ef6d84a04adbba2ba62707a (diff)
downloadexternal_webkit-a09e7cf49f43950a799f936bf42a9912d696547b.zip
external_webkit-a09e7cf49f43950a799f936bf42a9912d696547b.tar.gz
external_webkit-a09e7cf49f43950a799f936bf42a9912d696547b.tar.bz2
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I35a9fa5e53a83a9c9a920333a3752dd151fbd3b8
Diffstat (limited to 'Source/WebKit/android/benchmark')
-rw-r--r--Source/WebKit/android/benchmark/Intercept.cpp8
-rw-r--r--Source/WebKit/android/benchmark/main.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/Source/WebKit/android/benchmark/Intercept.cpp b/Source/WebKit/android/benchmark/Intercept.cpp
index deffac2..28ada5a 100644
--- a/Source/WebKit/android/benchmark/Intercept.cpp
+++ b/Source/WebKit/android/benchmark/Intercept.cpp
@@ -57,7 +57,7 @@ void MyResourceLoader::handleRequest()
void MyResourceLoader::loadData(const String& data)
{
- LOGD("Loading data (%s) ...", data.latin1().data());
+ ALOGD("Loading data (%s) ...", data.latin1().data());
ResourceHandleClient* client = m_handle->client();
int index = data.find(',');
if (index == -1) {
@@ -141,7 +141,7 @@ static String mimeTypeForExtension(const String& file)
void MyResourceLoader::loadFile(const String& file)
{
- LOGD("Loading file (%s) ...", file.latin1().data());
+ ALOGD("Loading file (%s) ...", file.latin1().data());
FILE* f = fopen(file.latin1().data(), "r");
ResourceHandleClient* client = m_handle->client();
if (!f) {
@@ -178,7 +178,7 @@ PassRefPtr<WebCore::ResourceLoaderAndroid> MyWebFrame::startLoadingResource(
void MyWebFrame::timerFired(Timer<MyWebFrame>*)
{
- LOGD("Handling requests...");
+ ALOGD("Handling requests...");
Vector<RefPtr<WebCore::ResourceLoaderAndroid> > reqs;
reqs.swap(m_requests);
Vector<RefPtr<WebCore::ResourceLoaderAndroid> >::iterator i = reqs.begin();
@@ -186,5 +186,5 @@ void MyWebFrame::timerFired(Timer<MyWebFrame>*)
for (; i != end; i++)
static_cast<MyResourceLoader*>((*i).get())->handleRequest();
- LOGD("...done");
+ ALOGD("...done");
}
diff --git a/Source/WebKit/android/benchmark/main.cpp b/Source/WebKit/android/benchmark/main.cpp
index fcb797d..df6db86 100644
--- a/Source/WebKit/android/benchmark/main.cpp
+++ b/Source/WebKit/android/benchmark/main.cpp
@@ -47,13 +47,13 @@ int main(int argc, char** argv) {
if (x) {
width = atoi(optarg);
height = atoi(x + 1);
- LOGD("Rendering page at %dx%d", width, height);
+ ALOGD("Rendering page at %dx%d", width, height);
}
} else if (c == 'r') {
reloadCount = atoi(optarg);
if (reloadCount < 0)
reloadCount = 0;
- LOGD("Reloading %d times", reloadCount);
+ ALOGD("Reloading %d times", reloadCount);
}
}
if (optind >= argc) {