Code Review
/
src
/
agl-compositor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use parameterized constructor of RBAArbitrator
[src/agl-compositor.git]
/
src
/
rba_adapter.cpp
diff --git
a/src/rba_adapter.cpp
b/src/rba_adapter.cpp
index
120d032
..
0583f92
100644
(file)
--- a/
src/rba_adapter.cpp
+++ b/
src/rba_adapter.cpp
@@
-52,12
+52,11
@@
bool rba_adapter_initialize(void)
weston_log("RBAmodel is NULL\n");
return false;
}
weston_log("RBAmodel is NULL\n");
return false;
}
- arb = new rba::RBAArbitrator();
+ arb = new rba::RBAArbitrator(
model
);
if (arb == nullptr) {
weston_log("RBAArbitrator is NULL\n");
return false;
}
if (arb == nullptr) {
weston_log("RBAArbitrator is NULL\n");
return false;
}
- arb->setModel(model);
return true;
}
weston_log("RBAArbitrator model is already created\n");
return true;
}
weston_log("RBAArbitrator model is already created\n");