| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 double WebURLLoadTiming::PushEnd() const { | 170 double WebURLLoadTiming::PushEnd() const { |
| 171 return private_->PushEnd(); | 171 return private_->PushEnd(); |
| 172 } | 172 } |
| 173 | 173 |
| 174 void WebURLLoadTiming::SetPushEnd(double end) { | 174 void WebURLLoadTiming::SetPushEnd(double end) { |
| 175 private_->SetPushEnd(end); | 175 private_->SetPushEnd(end); |
| 176 } | 176 } |
| 177 | 177 |
| 178 WebURLLoadTiming::WebURLLoadTiming(PassRefPtr<ResourceLoadTiming> value) | 178 WebURLLoadTiming::WebURLLoadTiming(PassRefPtr<ResourceLoadTiming> value) |
| 179 : private_(value) {} | 179 : private_(std::move(value)) {} |
| 180 | 180 |
| 181 WebURLLoadTiming& WebURLLoadTiming::operator=( | 181 WebURLLoadTiming& WebURLLoadTiming::operator=( |
| 182 PassRefPtr<ResourceLoadTiming> value) { | 182 PassRefPtr<ResourceLoadTiming> value) { |
| 183 private_ = value; | 183 private_ = std::move(value); |
| 184 return *this; | 184 return *this; |
| 185 } | 185 } |
| 186 | 186 |
| 187 WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>() const { | 187 WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>() const { |
| 188 return private_.Get(); | 188 return private_.Get(); |
| 189 } | 189 } |
| 190 | 190 |
| 191 } // namespace blink | 191 } // namespace blink |
| OLD | NEW |