| Index: content/shell/renderer/test_runner/test_runner.cc
|
| diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
|
| index c40f2f60942aa2f6ee691385ef2a1b842cc0ac1c..9a86f2a8f6c91a1dda6b46b32487494aaa27b38d 100644
|
| --- a/content/shell/renderer/test_runner/test_runner.cc
|
| +++ b/content/shell/renderer/test_runner/test_runner.cc
|
| @@ -2931,10 +2931,10 @@ void TestRunner::CapturePixelsCallback(scoped_ptr<InvokeCallbackTask> task,
|
|
|
| // Size can be 0 for cases where copyImageAt was called on position
|
| // that doesn't have an image.
|
| - int width = snapshot.info().fWidth;
|
| + int width = snapshot.info().width();
|
| argv[0] = v8::Number::New(isolate, width);
|
|
|
| - int height = snapshot.info().fHeight;
|
| + int height = snapshot.info().height();
|
| argv[1] = v8::Number::New(isolate, height);
|
|
|
| blink::WebArrayBuffer buffer =
|
|
|