summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authordtu@chromium.org <dtu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-25 21:34:03 +0000
committerdtu@chromium.org <dtu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-25 21:34:03 +0000
commit33cd69970a55a2d8bef41803f6b3c5836ccb938e (patch)
tree8e6808e1d9aee70eff0d87669f933dfb837e895c /content
parent1f8a23d757ceecff44a949654db4ae7050490564 (diff)
downloadchromium_src-33cd69970a55a2d8bef41803f6b3c5836ccb938e.zip
chromium_src-33cd69970a55a2d8bef41803f6b3c5836ccb938e.tar.gz
chromium_src-33cd69970a55a2d8bef41803f6b3c5836ccb938e.tar.bz2
Revert 148413 - Add new fields to GPU benchmarking API.
Add droppedFrameCount, totalPaintTime, and totalRasterizeTime to chrome.gpuBenchmarking.renderingStats(). BUG=chromium:130790, chromium:137756 TEST=Launch Chrome with --enable-gpu-benchmarking and per-tile painting, open a tab to a composited page, and type chrome.gpuBenchmarking.renderingStats(). All the above fields should be present. Review URL: https://chromiumcodereview.appspot.com/10823023 TBR=dtu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10827023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/renderer/gpu/gpu_benchmarking_extension.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc
index e7c61b0..8590e11 100644
--- a/content/renderer/gpu/gpu_benchmarking_extension.cc
+++ b/content/renderer/gpu/gpu_benchmarking_extension.cc
@@ -78,18 +78,6 @@ class GpuBenchmarkingWrapper : public v8::Extension {
stats_object->Set(v8::String::New("numFramesSentToScreen"),
v8::Integer::New(stats.numFramesSentToScreen),
v8::ReadOnly);
- if (stats.droppedFrameCount)
- stats_object->Set(v8::String::New("droppedFrameCount"),
- v8::Integer::New(stats.droppedFrameCount),
- v8::ReadOnly);
- if (stats.totalPaintTimeInSeconds)
- stats_object->Set(v8::String::New("totalPaintTimeInSeconds"),
- v8::Number::New(stats.totalPaintTimeInSeconds),
- v8::ReadOnly);
- if (stats.totalRasterizeTimeInSeconds)
- stats_object->Set(v8::String::New("totalRasterizeTimeInSeconds"),
- v8::Number::New(stats.totalRasterizeTimeInSeconds),
- v8::ReadOnly);
return stats_object;
}