| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 | 213 |
| 214 const Vector<String>& referencedFilePaths = m_private->getReferencedFilePath
s(); | 214 const Vector<String>& referencedFilePaths = m_private->getReferencedFilePath
s(); |
| 215 for (size_t i = 0; i < referencedFilePaths.size(); ++i) | 215 for (size_t i = 0; i < referencedFilePaths.size(); ++i) |
| 216 filePaths.add(referencedFilePaths[i]); | 216 filePaths.add(referencedFilePaths[i]); |
| 217 | 217 |
| 218 Vector<String> results; | 218 Vector<String> results; |
| 219 copyToVector(filePaths, results); | 219 copyToVector(filePaths, results); |
| 220 return results; | 220 return results; |
| 221 } | 221 } |
| 222 | 222 |
| 223 WebHistoryItem::WebHistoryItem(const PassRefPtr<HistoryItem>& item) | 223 WebHistoryItem::WebHistoryItem(const PassRefPtrWillBeRawPtr<HistoryItem>& item) |
| 224 : m_private(item) | 224 : m_private(item) |
| 225 { | 225 { |
| 226 } | 226 } |
| 227 | 227 |
| 228 WebHistoryItem& WebHistoryItem::operator=(const PassRefPtr<HistoryItem>& item) | 228 WebHistoryItem& WebHistoryItem::operator=(const PassRefPtrWillBeRawPtr<HistoryIt
em>& item) |
| 229 { | 229 { |
| 230 m_private = item; | 230 m_private = item; |
| 231 return *this; | 231 return *this; |
| 232 } | 232 } |
| 233 | 233 |
| 234 WebHistoryItem::operator PassRefPtr<HistoryItem>() const | 234 WebHistoryItem::operator PassRefPtrWillBeRawPtr<HistoryItem>() const |
| 235 { | 235 { |
| 236 return m_private.get(); | 236 return m_private.get(); |
| 237 } | 237 } |
| 238 | 238 |
| 239 } // namespace blink | 239 } // namespace blink |
| OLD | NEW |