Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: Source/modules/crypto/CryptoKey.cpp

Issue 1278103002: Oilpan: tidy up some inter-stack object references. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 algorithmValue.addString("name", WebCryptoAlgorithm::lookupAlgorithmInfo (algorithm.id())->name); 123 algorithmValue.addString("name", WebCryptoAlgorithm::lookupAlgorithmInfo (algorithm.id())->name);
124 m_builder.add(propertyName, algorithmValue); 124 m_builder.add(propertyName, algorithmValue);
125 } 125 }
126 126
127 virtual void setUint8Array(const char* propertyName, const WebVector<unsigne d char>& vector) 127 virtual void setUint8Array(const char* propertyName, const WebVector<unsigne d char>& vector)
128 { 128 {
129 m_builder.add(propertyName, DOMUint8Array::create(vector.data(), vector. size())); 129 m_builder.add(propertyName, DOMUint8Array::create(vector.data(), vector. size()));
130 } 130 }
131 131
132 private: 132 private:
133 // Oilpan: CSSParserObserver is stack allocated and stack scanning will
134 // separately locate it.
135 GC_PLUGIN_IGNORE("509911")
133 V8ObjectBuilder& m_builder; 136 V8ObjectBuilder& m_builder;
134 }; 137 };
135 138
136 } // namespace 139 } // namespace
137 140
138 CryptoKey::~CryptoKey() 141 CryptoKey::~CryptoKey()
139 { 142 {
140 } 143 }
141 144
142 CryptoKey::CryptoKey(const WebCryptoKey& key) 145 CryptoKey::CryptoKey(const WebCryptoKey& key)
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 if (!usage) { 227 if (!usage) {
225 result->completeWithError(WebCryptoErrorTypeType, "Invalid keyUsages argument"); 228 result->completeWithError(WebCryptoErrorTypeType, "Invalid keyUsages argument");
226 return false; 229 return false;
227 } 230 }
228 mask |= usage; 231 mask |= usage;
229 } 232 }
230 return true; 233 return true;
231 } 234 }
232 235
233 } // namespace blink 236 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698