| Index: ppapi/cpp/url_response_info.cc
|
| diff --git a/ppapi/cpp/url_response_info.cc b/ppapi/cpp/url_response_info.cc
|
| index a1e2d3a13f892a1721675b7a6c676820885891b6..032b40585ed3c7ffb93b9a572750be99304e2432 100644
|
| --- a/ppapi/cpp/url_response_info.cc
|
| +++ b/ppapi/cpp/url_response_info.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -12,8 +12,8 @@ namespace pp {
|
|
|
| namespace {
|
|
|
| -template <> const char* interface_name<PPB_URLResponseInfo>() {
|
| - return PPB_URLRESPONSEINFO_INTERFACE;
|
| +template <> const char* interface_name<PPB_URLResponseInfo_1_0>() {
|
| + return PPB_URLRESPONSEINFO_INTERFACE_1_0;
|
| }
|
|
|
| } // namespace
|
| @@ -27,19 +27,19 @@ URLResponseInfo::URLResponseInfo(PassRef, PP_Resource resource)
|
| }
|
|
|
| Var URLResponseInfo::GetProperty(PP_URLResponseProperty property) const {
|
| - if (!has_interface<PPB_URLResponseInfo>())
|
| + if (!has_interface<PPB_URLResponseInfo_1_0>())
|
| return Var();
|
| return Var(PASS_REF,
|
| - get_interface<PPB_URLResponseInfo>()->GetProperty(pp_resource(),
|
| - property));
|
| + get_interface<PPB_URLResponseInfo_1_0>()->GetProperty(pp_resource(),
|
| + property));
|
| }
|
|
|
| FileRef URLResponseInfo::GetBodyAsFileRef() const {
|
| - if (!has_interface<PPB_URLResponseInfo>())
|
| + if (!has_interface<PPB_URLResponseInfo_1_0>())
|
| return FileRef();
|
| return FileRef(PASS_REF,
|
| - get_interface<PPB_URLResponseInfo>()->GetBodyAsFileRef(
|
| - pp_resource()));
|
| + get_interface<PPB_URLResponseInfo_1_0>()->GetBodyAsFileRef(
|
| + pp_resource()));
|
| }
|
|
|
| } // namespace pp
|
|
|