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

Unified Diff: mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc

Issue 622593002: mojo: Allow circular dependencies between structs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/bindings/struct_ptr.h ('k') | mojo/public/interfaces/bindings/tests/regression_tests.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc b/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
index b8eeaa64fc13d8df0a3277ae6148f5560906a0ba..fc0508c311738ac0e556e014b2e10271f023c90a 100644
--- a/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
@@ -44,7 +44,8 @@ class SerializationWarningTest : public testing::Test {
protected:
template <typename T>
- void TestWarning(T obj, mojo::internal::ValidationError expected_warning) {
+ void TestWarning(StructPtr<T> obj,
+ mojo::internal::ValidationError expected_warning) {
warning_observer_.set_last_warning(mojo::internal::VALIDATION_ERROR_NONE);
mojo::internal::FixedBuffer buf(GetSerializedSize_(obj));
« no previous file with comments | « mojo/public/cpp/bindings/struct_ptr.h ('k') | mojo/public/interfaces/bindings/tests/regression_tests.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698