| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * * Redistributions in binary form must reproduce the above copyright | 9 * * Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 } | 41 } |
| 42 | 42 |
| 43 WebSpeechGrammar& WebSpeechGrammar::operator=(SpeechGrammar* value) | 43 WebSpeechGrammar& WebSpeechGrammar::operator=(SpeechGrammar* value) |
| 44 { | 44 { |
| 45 m_private = value; | 45 m_private = value; |
| 46 return *this; | 46 return *this; |
| 47 } | 47 } |
| 48 | 48 |
| 49 WebURL WebSpeechGrammar::src() const | 49 WebURL WebSpeechGrammar::src() const |
| 50 { | 50 { |
| 51 BLINK_ASSERT(m_private.get()); | 51 DCHECK(m_private.get()); |
| 52 return m_private->src(); | 52 return m_private->src(); |
| 53 } | 53 } |
| 54 | 54 |
| 55 float WebSpeechGrammar::weight() const | 55 float WebSpeechGrammar::weight() const |
| 56 { | 56 { |
| 57 BLINK_ASSERT(m_private.get()); | 57 DCHECK(m_private.get()); |
| 58 return m_private->weight(); | 58 return m_private->weight(); |
| 59 } | 59 } |
| 60 | 60 |
| 61 } // namespace blink | 61 } // namespace blink |
| OLD | NEW |